跳至內容
選單
此問題已被標幟
2 回覆
653 瀏覽次數

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.


頭像
捨棄