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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Jan 24
|
1509 | ||
|
0
Feb 22
|
1522 | ||
|
1
Nov 21
|
1489 | ||
|
0
Sep 21
|
1390 | ||
|
2
Aug 20
|
2264 |