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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Feb 22
|
1552 | ||
|
1
Mar 24
|
1092 | ||
|
1
Feb 24
|
1617 | ||
|
2
Sep 22
|
944 | ||
|
4
Sep 20
|
11306 |