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])
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.