Payslip - Send by Email ${object.employee_id.company_id and object.employee_id.company_id.email or ''} ${object.employee_id.company_id.name} - Ref ${object.name or 'n/a' } ${object.employee_id.address_home_id.id} ${(object.name or '').replace('/','_')} ${object.employee_id.address_home_id.lang}

Hello ${object.employee_id.name},


Please find attached ${(object.name)}

If you have any question, do not hesitate to contact HR.


Thank you


${object.company_id.name}

${object.company_id.partner_id.sudo().with_context(show_address=True, html_format=True).name_get()[0][1] | safe} % if object.company_id.phone:
Phone:  ${object.company_id.phone}
% endif % if object.company_id.website: %endif

]]>