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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
fev. 22
|
2394 | ||
Adding static text into form view
Resolvido
|
|
1
mar. 24
|
3072 | |
|
1
fev. 24
|
3428 | ||
|
2
set. 22
|
2157 | ||
How do I check for overlapping dates?
Resolvido
|
|
4
set. 20
|
12713 |