تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1419 أدوات العرض

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
فبراير 22
2443
1
مارس 24
3101
1
فبراير 24
3473
2
سبتمبر 22
2180
4
سبتمبر 20
12753