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.
I am trying to mimic a button press on a form through the API (xmlrpc). For example I have created a stock move and need to replicate the action of pressing the button 'Process Entirely' i.e. stock.move.action_done() passing the id of the required stock move record.
The two approaches I I have thought could work are: -
To create a workflow linked to the action_done action and then call the workflow through the API.
Create an Inherited version the stock.move module and expose the action_done method so its executable through the API.
Could tell me what the best 'Odoo' way of achieving the above would be and point me towards examples of this being done?
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: 11/26/15, 5:09 AM|
|Seen: 770 times|
|Last updated: 12/11/15, 9:45 AM|