コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1421 ビュー

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
2443
1
3月 24
3101
1
2月 24
3473
2
9月 22
2181
4
9月 20
12753