hi community,
how can i create an action XMLRPC, button confirm in example sale.order ?
ids = execute('sale.order' , 'action_button_confirm', ???)
any ideas ?
Thx
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hi community,
how can i create an action XMLRPC, button confirm in example sale.order ?
ids = execute('sale.order' , 'action_button_confirm', ???)
any ideas ?
Thx
you can do like this :-
order_id = models.execute_kw(ODOO_DB, ODOO_USERNAME, ODOO_PASSWORD, 'sale.order', 'create', [{'name': name}])
res = models.execute_kw(ODOO_DB, ODOO_USERNAME, ODOO_PASSWORD, 'sale.order', 'action_button_confirm', [order_id])
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up