I want to do something like this with external api
self.env['stock.picking'].sudo().button_validate()
is this possible?
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])
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
3
iul. 25
|
6439 | |||
|
1
oct. 24
|
4837 | |||
|
0
sept. 23
|
3889 | |||
|
1
iun. 23
|
4108 | |||
|
xmlrpc search_read
Rezolvat
|
1
iun. 23
|
3989 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.