Skip to Content
मेन्यू
This question has been flagged
2 Replies
1694 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
0
अग॰ 25
90
1
मई 25
1299
1
मार्च 25
1292
0
फ़र॰ 25
1541
1
दिस॰ 24
1930