Skip to Content
Menu
This question has been flagged
4 Replies
2997 Views

in odoo 12 payroll module.

Avatar
Discard
Author

getting this error while getting no of working days from paroll

File "<template>", line 4, in body_call_content_1306

AttributeError: 'hr.employee' object has no attribute 'worked_days'

Error to render compiling AST

AttributeError: 'hr.employee' object has no attribute 'worked_days'

Template: 852

Path: /templates/t/t/t/t/div/table[1]/tr[3]/td[2]/span

Node: <span t-field="o.employee_id.worked_days.WORK100.number_of_days"/>

is there a field named worked_days inside the hr.employee model ?

Author Best Answer

it is in under hr.payslip

Avatar
Discard