odoo owl前端 action 通知
setup (){ this.action = useService("action"); } this.action.doAction({ type: 'ir.actions.client', tag: 'display_notification', params:{ 'title': "提醒", 'message':"测试", 'sticky': false, 'className':'bg-danger',}} );
this.action.doAction({ type: "ir.actions.act_url", url: url, });