Skip to Content
Menú
This question has been flagged
1 Respondre
1316 Vistes

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
1
de febr. 22
2285
1
de març 24
2952
1
de febr. 24
3304
2
de set. 22
2063
4
de set. 20
12595