Hi,
Scenario:
User input the values at form and click on the “Preview” button. We will use the value to generate the custom URL and calling third party website.
- May I know how to open URL from Button?
I had tried to create the “ir.action.url” and using decorator “@ModelView.Button_action(action)”. Tryton can open the URL from “ir.action.url” but it return fixed value of URL “ir.action.url”.
- Beside question [1] or can dynamic value “URL” using button_action?
Best regards