I want to do something like this with external api
self.env['stock.picking'].sudo().button_validate()
is this possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to do something like this with external api
self.env['stock.picking'].sudo().button_validate()
is this possible?
Hello Tony,
Yes, it is possible using xmlrpc script.
Here I am sharing a example.
Please find code example in comment.
Feel free to contact me if needed
Hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Please find code example here :-
#Code of connection with host after that below code will apply.
picking_ids = model.execute_kw(db, uid, password, 'stock.picking', 'search', [[('state', '=', 'assigned')]])
picking_validate = model.execute_kw(db, uid, password, 'stock.picking', 'button_validate', [picking_ids])
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
3
lip 25
|
2756 | ||
|
1
paź 24
|
1966 | ||
|
0
wrz 23
|
1612 | ||
|
1
cze 23
|
2089 | ||
xmlrpc search_read
Rozwiązane
|
|
1
cze 23
|
2267 |