Payroll Mail Generation Issue
This commit is contained in:
parent
9286d099ff
commit
fb510dfc33
|
|
@ -456,8 +456,8 @@ class HrPayslip(models.Model):
|
|||
'res_id': payslip.id
|
||||
})
|
||||
# Send email to employees
|
||||
if template:
|
||||
template.send_mail(payslip.id, email_layout_xmlid='mail.mail_notification_light')
|
||||
# if template:
|
||||
# template.send_mail(payslip.id, email_layout_xmlid='mail.mail_notification_light')
|
||||
self.env['ir.attachment'].sudo().create(attachments_vals_list)
|
||||
|
||||
def _filter_out_of_contracts_payslips(self):
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
name="Contracts"
|
||||
action="hr_contract.action_hr_contract"
|
||||
parent="menu_hr_payroll_employees_root"
|
||||
sequence="30"/>
|
||||
sequence="90"/>
|
||||
|
||||
<menuitem
|
||||
id="hr_menu_salary_attachments"
|
||||
|
|
|
|||
Loading…
Reference in New Issue