跳至內容
選單
此問題已被標幟
1 回覆
2720 瀏覽次數

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
4333
2
12月 15
635
0
3月 15
3634
1
3月 15
4658
3
6月 24
1747