Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
631 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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)

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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


Awatar
Odrzuć