콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1934 화면

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?

관련 게시물 답글 화면 활동
3
1월 24
2719
0
2월 22
2341
1
11월 21
2419
0
9월 21
2494
2
8월 20
3371