Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
647 Näkymät

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

Avatar
Hylkää
Paras vastaus

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)

Avatar
Hylkää
Tekijä Paras vastaus

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


Avatar
Hylkää