Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1381 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
feb. 22
2390
1
mar. 24
3068
1
feb. 24
3426
2
sept. 22
2150
4
sept. 20
12704