摘要: # def click_created(self): # sender = self.env['res.partner'].browse(2) # receiver = self.env['res.partner'].browse(6) # message = self.env['mail.mess 阅读全文
posted @ 2023-05-13 20:31 CrossPython 阅读(32) 评论(0) 推荐(0) 编辑
摘要: self.env['res.partner'].search([('id', '=', 2)]) 阅读全文
posted @ 2023-05-13 19:04 CrossPython 阅读(24) 评论(0) 推荐(0) 编辑
摘要: def click_created(self): return { 'type': 'ir.actions.client', 'tag': 'display_notification', 'params': { 'title': '提示点击', 'message': '游戏哦', 'sticky': 阅读全文
posted @ 2023-05-13 08:21 CrossPython 阅读(106) 评论(0) 推荐(0) 编辑