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
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
2
Відповіді
1701
Переглядів
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!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
0
серп. 25
|
94 | ||
|
1
трав. 25
|
1303 | ||
|
1
бер. 25
|
1292 | ||
|
0
лют. 25
|
1542 | ||
|
1
груд. 24
|
1930 |