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])
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.