跳至内容
菜单
此问题已终结
1 回复
2704 查看

I cant figure out why this notfication wont show. Its the exact format from another inbuilt module. I would appreciate your help

Im on v15


def _send_notification(self):
​if not self._is_applicable():
​return {
​'type': 'ir.actions.client',
​'tag': 'display_notification',
​'params': {
​'message': _("Nothing to send"),
​'type': 'info',
​'sticky': False,
​}
​# do other stuff
形象
丢弃
相关帖文 回复 查看 活动
1
12月 15
4323
2
12月 15
635
0
3月 15
3625
1
3月 15
4638
3
6月 24
1726