I want to create automated action for preventing duplicate employee paymentslip(hr.payslip) it should check employee_id, date_from,date_to (All three fields) for duplicate entry
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
2
Răspunsuri
1723
Vizualizări
Hi, here is good examples. try it https://odootricks.tips/about/automated-actions/
Hello Shekhar,
You can use the @api.constraints for preventing to generate duplicate paymentslip.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
0
aug. 25
|
112 | ||
|
1
mai 25
|
1319 | ||
|
1
mar. 25
|
1295 | ||
|
0
feb. 25
|
1552 | ||
|
1
dec. 24
|
1939 |