Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1937 Представления

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.

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

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

Related Posts Ответы Просмотры Активность
3
янв. 24
2719
0
февр. 22
2341
1
нояб. 21
2419
0
сент. 21
2494
2
авг. 20
3371