콘텐츠로 건너뛰기
메뉴
신고된 질문입니다
1 회신
1422 화면

In Odoo Studio, when a reservation module is created, how can I prevent that the same place is reserved by two different requests on the same date?

아바타
취소
베스트 답변

Hi,

You can create an automated action in the database, that is getting triggered on writing or creating record in this model and you can raise warning if duplicates are found.


Check whether base_automation module is installed in the database, if not install it, then keeping the developer mode activated, navigate to Automated Actions menu under the settings and create a new record here, select triggered on Create & Update and execute a python code, that check and raises the warning.

Thanks

아바타
취소
관련 게시물 답글 화면 활동
1
2월 22
2446
1
3월 24
3103
1
2월 24
3474
2
9월 22
2181
4
9월 20
12757