Skip to Content
Menu
This question has been flagged
2 Replies
1147 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
Dec 24
395
0
Nov 24
107
1
Jul 24
4040
2
Jun 24
3468
1
Dec 23
449