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
1840
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-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
Batches of pay slips
Rezolvat
|
|
1
sept. 25
|
657 | |
|
|
1
mai 25
|
1975 | ||
|
|
1
mar. 25
|
1690 | ||
|
|
0
feb. 25
|
2075 | ||
|
|
1
dec. 24
|
2355 |