Skip to Content
Menu
This question has been flagged
1874 Views

Hi,

I want to give the record rule for multi company Payslip Batches. Such that the payslip batch of one company  cannot be seen by the other company.

i have given this rule but it is not working.

['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]

Avatar
Discard

Hi, I'm not sure hr.payslip.run have field company_id

I guess only hr.payslip have company_id