Skip to Content
Menu
This question has been flagged
1 Atsakyti
1972 Rodiniai

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.

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
3
saus. 24
2738
0
vas. 22
2360
1
lapkr. 21
2426
0
rugs. 21
2511
2
rugp. 20
3392