Skip to Content
मेन्यू
This question has been flagged
2 Replies
1824 Views

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

Avatar
Discard
Best Answer

Hi, here is good examples. try it https://odootricks.tips/about/automated-actions/


Avatar
Discard
Best Answer

Hello Shekhar,

You can use the @api.constraints for preventing to generate duplicate paymentslip.

Avatar
Discard
Related Posts Replies Views Activity
1
सित॰ 25
636
1
मई 25
1941
1
मार्च 25
1678
0
फ़र॰ 25
2046
1
दिस॰ 24
2326