Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1427 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
helmik. 22
2448
1
maalisk. 24
3110
1
helmik. 24
3476
2
syysk. 22
2184
4
syysk. 20
12765