This question has been flagged

Hey i am using a custom module for employee advance and it is working fine in single company as advance is added in payslip.line whenever i compute a payslip but now when i turn multi company on it is givng me following error

" Create/update: a mandatory field is not set. - Delete: another model requires the record being deleted. If possible, archive it instead. Model: Payslip Line (hr.payslip.line), Field: Name (name)"

Anyone of you can tell what going wrong?? Thanks in advance

Avatar
Discard
Best Answer

Hi,
You've missed filling a mandatory field as per the error log. Check in the Payslip line or inside any masterfield (many2one).


Avatar
Discard
Author

Hey thanks for replying but i am just pressing compute button to compute payslip and it working for one company but not for other