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])
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
3
Tem 25
|
6161 | |||
|
1
Eki 24
|
4598 | |||
|
0
Eyl 23
|
3721 | |||
|
1
Haz 23
|
4002 | |||
|
xmlrpc search_read
Çözüldü
|
1
Haz 23
|
3910 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.