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?
Denna fråga har flaggats
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
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
feb. 22
|
3813 | ||
|
|
1
mars 24
|
5184 | ||
|
|
1
feb. 24
|
5785 | ||
|
|
2
sep. 22
|
3813 | ||
|
|
4
sep. 20
|
15011 |