Hello there,
I have two questions regarding wizard manipulation through Odoo Studio automated actions.
I've been trying to open the create invoice wizard (where you apply down payments, etc.), using an automated action. I found the following code for calling window actions with studio:
action = { "type": "ir.actions.act_window", "id": 1112, }
I tried this code, it doesn't give me errors, but it doesn't open the create invoice wizard.
What am I missing?
I also searched in the forum, about sending data from the model where the call is made (in this example sale.order) into the wizard. This I would use to autofill the down payment percentage. I learnt that it is possible using context. But I don't really know how context works. How does the context connect sale.order to create invoice wizard?
Could you show me sample code on how to bring the context over within Studio automated action?
Thanks,