Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2088 Представления

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])

Related Posts Ответы Просмотры Активность
3
июл. 25
2827
1
окт. 24
2057
0
сент. 23
1646
1
июн. 23
2137
1
июн. 23
2304