Odoo calendar 提供了一个提醒功能,它包含邮件通知以及web client弹窗功能

 
 

创建日历事件的时候,可以设置提醒器

 
 

Meeting [ calendar.event ]

 
 

 
 

 
 

Reminder [ calendar.alarm]

 
 

 
 

包含 2种类型

  1. Email
  2. Notification

 
 

 
 

然后再通过
calendar.alarm_manager 接口对象 封装供 webclient 调用

 

Web client 每 5分钟
查询一次
接口对象
calendar.alarm_manager 的接口 get_next_notif()

 
 

code… calendar/static/src/js/base_calendar.js Line 209 当发现接口中有需要展示的通知时,就会展示
通知

 
 

self.notification_manager.display(newCalendarNotification(self.notification_manager,res.title,res.message,res.event_id));

 
 

 
 

例如;

 
 

 
 

 
 

 
 

 
 

最新文章

  1. EXT 下拉框事件
  2. depot用例视图建模
  3. poj2236(并查集)
  4. C++指针比较的问题
  5. php实现添加图片水印
  6. ASP.NET 内置对象涉略
  7. iOS开发瀑布流的实现
  8. struts2 Unable to load configuration. - bean - jar:file:struts2-core-2.2.3.jar!/struts-default.xml:29:72
  9. [python3.5][PyUserInput]模拟鼠标和键盘模拟
  10. <解决方法>Centos安装使用Chromedriver
  11. Confluence 6 MySQL 测试你的数据库连接
  12. Atom选中多行操作
  13. 第0章 概述及常见dos命令
  14. 【转载】MyBatis JdbcType 与Oracle、MySql数据类型对应关系详解
  15. Eolinker API 接口文档神器
  16. LINQ to SQL和Entity Framework
  17. 【Java】 秒转时分秒天
  18. 【51nod-1315】合法整数集(数位)
  19. HDU4738:Caocao's Bridges(求桥)
  20. autofac无法解析一例

热门文章

  1. Sonar - 部署常见问题及解决方法
  2. 九度oj 题目1188:约瑟夫环
  3. PHPSTORM杂技
  4. curl 请求
  5. Jersey实现Client端:GET/PUT/POST/DELETE
  6. IBM QMF下载
  7. 【python接口自动化】logger
  8. Windows connect to mysql failed: can't get hostname for your address
  9. 使用JWT实现Token认证
  10. Foj 2148 二维几何(点是否在三角形内)