From 16abc7e8a263aa0ae8ae8e89b03758e9e809a9da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Sat, 24 Jan 2026 16:36:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_salary/models/yuthon_salary_active.py | 4 ++++ 1 file changed, 4 insertions(+) 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):