Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1436 Tampilan

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?

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Feb 22
2454
1
Mar 24
3118
1
Feb 24
3481
2
Sep 22
2189
4
Sep 20
12778