python日历提醒_如何使用日历事件获取通知?

我有日历和继承的模块,我将创建一个事件:from openerp.osv import fields, osv

from openerp import api

class calendar_event(osv.osv):

_inherit = "calendar.event"

_rec_name = 'number'

STATE_SELECTION = [

('1', 'Corrective'),

('2', 'Preventive'),

('3', 'Predictive'),

]

_columns = {

'number' : fields.char('Calendar Inspection ID',readonly=1),

'tags' : fields.selection(STATE_SELECTION, 'Tags',),

'user_id': fields.many2one('res.users','res_users_rel','Assigned', track_visibility='onchange',),

'company_id11': fields.many2one('res.company', 'Substation', required=True),

'assetmodelid_add' : fields.many2one('agile.portfolio1','Asset Model Code',),

'folio_num1' : fields.many2one('asset.asset','Folio Num',),

'inspection_name' : fields.many2many('asset1.inspection','asset1_inspection_rel','super_id','asset1_inspection_id','Inspection Type'),

#'folio_num' : fields.related('folio_num','folio_num',string='Folio Num',relation='asset.asset', type='many2one')

}

_defaults = {

'number' : lambda self,cr,uid,context={}:self.pool.get('ir.sequence').get(cr,uid,'calendar.event'),

}

我有一张反馈表:

^{pr2}$

在这里,我将使用会议对该事件进行反馈:

'folionum':字段。多个('日历.事件','维护ID',)

我想要以下功能或任务:

当我在创建事件时日历.事件我可以选择开始和结束日期。过了那一天我应该

'folionum':字段。多个('日历.事件','维护ID',)

只有当天的选项。在

之后,我想使用反馈.form在日历窗体中使用groupby。在

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
如果你是一个小型的办公网络,你可以创建一个服务器来进行日程安排,这只是一个开源的小服务器,你果你需要大的免费的软件去http://www.bedework.org/bedework/下载 使用教程 Installation Dependencies Radicale is written in pure python and does not depend on any librabry. It is known to work on Python 2.5, 2.6, 3.0 and 3.1 [1]. Linux users certainly have Python already installed. For Windows and MacOS users, please install Python [2] thanks to the adequate installer. [1] See Python Versions and OS Support for further information. [2] Python download page. Radicale Radicale can be freely downloaded on the project website, download section. Just get the file and unzip it in a folder of your choice. CalDAV Clients At this time Radicale has been tested and works fine with the latests version of Mozilla Sunbird (versions 0.9+), Mozilla Lightning (0.9+), and Evolution (2.30+). More clients will be supported in the future. However, it may work with any calendar client which implements CalDAV specifications too (luck is highly recommanded). To download Sunbird, go to the Sunbird project website and choose the latest version. Follow the instructions depending on your operating system. Simple Usage Starting Server To start Radicale CalDAV server, you have to launch the file called radicale.py located in the root folder of the software package. Using Sunbird or Lightning After starting Sunbird or Lightning, click on File and New Calendar. Upcoming window asks you about your calendar storage. Chose a calendar On the Network, otherwise Sunbird will use its own file system storage instead of Radicale's one and your calendar won't be remotely accessible. Next window asks you to provide information about remote calendar access. Protocol used by Radicale is CalDAV. A standard location for a basic use of a Radicale calendar is http://localhost:5232/user/calendar/, where you can replace user and calendar by some strings of your choice. Calendars are automatically created if needed. You can now customize your calendar by giving it a nickname and a color. This

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值