Zum Inhalt springen
Menü
Diese Frage wurde gekennzeichnet
1 Antworten
1433 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 22
2451
1
März 24
3113
1
Feb. 24
3479
2
Sept. 22
2187
4
Sept. 20
12772