[IMP]: caldav: Added user in attendee object

bzr revid: rpa@openerp.co.in-20100106062712-jlca8fv6316rab8o
This commit is contained in:
rpa (Open ERP)
2010-01-06 11:57:12 +05:30
parent 0501604866
commit d975e11204
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -10,6 +10,8 @@
<form string="Atendee details">
<notebook colspan="4">
<page string="Basic details">
<field name="user_id"/>
<newline/>
<field name="cn" select="1" colspan="2" />
<field name="partstat" />
<field name="cutype" select="1" />
@@ -148,6 +150,5 @@
<field name="target">new</field>
</record>
</data>
</openerp>
+2 -2
View File
@@ -112,10 +112,10 @@ class crm_caldav_attendee(osv.osv):
help="Specify the calendar user that is acting on behalf of the calendar user"),
'cn': fields.char('CN', size=124, help="The common or displayable name to be associated with the calendar user"),
'dir': fields.char('DIR', size=124, help="Reference to the URI that points to the directory information corresponding to the attendee."),
'language': fields.char('LANGUAGE', size=124, help="To specify the language for text values in a property or property parameter."),
'language': fields.char('LANGUAGE', size=124, help="To specify the language for text values in a property or property parameter."),
'user_id': fields.many2one('res.users', 'Responsible'),
}
_defaults = {
'cn': lambda *x: 'MAILTO:',
}
crm_caldav_attendee()