Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello. I have an action.server defined as follows:
<record model="ir.actions.server" id="my_custom_action">
<field name="name">action 1</field>
<field name="model_id" ref="account.model_account_invoice"/>
action = records.my_method_1()
What i would like to do is to call multiple methods from this action server. Lets say I have my_method_1(), my_method_2() and my_method_3(). How can I call them from my action server in order for them to be executed one after another? If you could provide me an example for this and for "n methods" it would be excellent :D
PD: I assume I would have to do the same if it where functions (giving its required parameters) instead of methods, right?
Thanks in advance!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/8/18, 11:18 AM|
|Seen: 86 times|
|Last updated: 8/8/18, 2:12 PM|