待质检提醒

This commit is contained in:
guanhuan
2025-01-03 10:17:33 +08:00
parent eaaa13fb9a
commit c6aeff2006

View File

@@ -25,7 +25,7 @@ class SFMessageQualityCheck(models.Model):
def get_message_queue(self, res_id):
business_node_id = self.env.ref('sf_message.bussiness_quality_check').id
message_template = self.env["jikimo.message.template"].sudo().search([
("model", "=", self._name),
("name", "=", '待质检提醒'),
("bussiness_node_id", "=", business_node_id)
], limit=1)
jikimo_message_queue = self.env['jikimo.message.queue'].sudo().search(