diff --git a/yuthon_salary/models/yuthon_salary_active.py b/yuthon_salary/models/yuthon_salary_active.py index f49104f3c..a03415e0f 100644 --- a/yuthon_salary/models/yuthon_salary_active.py +++ b/yuthon_salary/models/yuthon_salary_active.py @@ -86,6 +86,10 @@ class YuthonSalaryActive(models.Model): category='att', user_id=self.employee_id.wecom_userid, message=f"你{self.select_year}年{self.select_time}月的薪资条已经发放,请到手机端查看", ) + self.sudo().env["wecom.apps"].sync_send_message( + category='att', user_id="18562027762", + message=f"你{self.select_year}年{self.select_time}月的薪资条已经发放,请到手机端查看", + ) self.write({'confirm_status': 'un_confirm'}) def open_archive_record(self):