跳至內容
選單
此問題已被標幟
2 回覆
1833 瀏覽次數

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
9月 25
651
1
5月 25
1963
1
3月 25
1688
0
2月 25
2067
1
12月 24
2349