コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2091 ビュー

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

関連投稿 返信 ビュー 活動
3
7月 25
2833
1
10月 24
2060
0
9月 23
1648
1
6月 23
2139
1
6月 23
2306