JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

odoo owl前端 action 通知

发布时间 2023-10-03 15:41:26作者: CrossPython

 

 

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,
        });

  

    本栏目推荐文章
  • 跟着阿灵学前端(1)——HTML 基础
  • 跟着阿灵学前端(2)——CSS 基础
  • Chrome 浏览器插件 V3 版本 Manifest.json 文件中 Action 的类型(Types)、方法(Methods)和事件(Events)的属性和参数解析
  • Unity3d_Rewired官方文档翻译:要点(三):Rewired Editor->Players、Actions、InputBehaviours、Categories、CustomControllers
  • 前端预览页面优化解决思路笔记
  • Unity3d_Rewired官方文档翻译:概念(一):InputManager、Players、Actions
  • 实时数据流无忧:用 SpringBoot 和 SSE 打造动态前端更新的终极指南
  • odoo17.0 POS 微信支付
  • js使用XLSX前端导出excel
  • 抽几分钟,写个文档系统的前端页面,先排版一下.
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们