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
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])
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.