Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1953 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
3
janv. 24
2722
0
févr. 22
2342
1
nov. 21
2420
0
sept. 21
2494
2
août 20
3372