odoo 弹窗提示

    def click_created(self):
        return {
            'type': 'ir.actions.client',
            'tag': 'display_notification',
            'params': {
                'title': '提示点击',
                'message': '游戏哦',
                'sticky': False,
                'classname': 'bg-danger',
            }
        }

  

posted @ 2023-05-13 08:21  CrossPython  阅读(106)  评论(0编辑  收藏  举报