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
Відповіді
1846
Переглядів
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 | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
Batches of pay slips
Вирішено
|
|
1
вер. 25
|
657 | |
|
|
1
трав. 25
|
1975 | ||
|
|
1
бер. 25
|
1692 | ||
|
|
0
лют. 25
|
2078 | ||
|
|
1
груд. 24
|
2355 |