Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1970 Ansichten

I added a custom field to the sales order object which I want to be updated every 12 hours by requesting a website and getting a response. How can I set the timer for this code to update this field every 12 hours?

Thanks in advance.

Avatar
Verwerfen
Beste Antwort

Hi,

For this you can set a cron job/scheduled action to trigger it. 

Set the execution period as every 12 Hours and execute the necessary python code using this cron job.

Thanks

Avatar
Verwerfen
Autor

thanks for your response. can you send me an example link or a part in odoo code that executed this behaviuor?

Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Jan. 24
2734
0
Feb. 22
2355
1
Nov. 21
2425
0
Sept. 21
2510
2
Aug. 20
3389