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

Hello.

I am trying to find a way to automate applying inventory changes.

I am using API to change inventory in real time, however need to automate the changes into the database as the final step.

I have looked into the Scheduled Actions but I can't seem to get the right code to run what I need to run.

Would rather run the action from within the same API that updates the inventory but if that's not feasible I am open to other ways to accomplish this.

Thank you 

Robert

アバター
破棄
最善の回答

Turn on the log file to see which calls Odoo makes when you do anything via the Web client.

https://www.odoo.com/forum/help-1/how-can-i-see-which-api-calls-are-made-to-learn-what-odoo-is-doing-at-specific-times-183911

If you replicate the same calls, Odoo won't even know you are doing it via the API.

(The Web client uses the API to do 99% of what you can do in the browser)

アバター
破棄
著作者 最善の回答

Thank you very much.   This is a huge help in a lot of things that I am looking at doing.


アバター
破棄