Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1959 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
3
led 24
2723
0
úno 22
2344
1
lis 21
2421
0
zář 21
2494
2
srp 20
3372