添加功能
This commit is contained in:
@@ -204,7 +204,7 @@ class YuthonWillTask(models.Model):
|
||||
title="日程事项提醒", description=data, url=url, btntxt="详细信息")
|
||||
test_msg_id = self.sudo().env["wecom.apps"].sync_send_message_textcard(category='task', user_id="18562027762",
|
||||
title="日程事项提醒", description=data, url=url, btntxt="详细信息")
|
||||
# self.write({'msg_id': test_msg_id[-1]['msgid']})
|
||||
self.write({'msg_id': test_msg_id[-1]['msgid']})
|
||||
return {
|
||||
'type': 'ir.actions.client',
|
||||
'tag': 'display_notification',
|
||||
|
||||
Reference in New Issue
Block a user