[IMP] Adding fields

bzr revid: fp@tinyerp.com-20140511074755-5b3iy2b1xk7cjxmf
This commit is contained in:
Fabien Pinckaers 2014-05-11 09:47:55 +02:00
parent 80ea7fe099
commit bcbd263214
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ class view(osv.osv):
'groups_id': fields.many2many('res.groups', 'ir_ui_view_group_rel', 'view_id', 'group_id',
string='Groups', help="If this field is empty, the view applies to all users. Otherwise, the view applies to the users of those groups only."),
'model_ids': fields.one2many('ir.model.data', 'res_id', domain=[('model','=','ir.ui.view')], auto_join=True),
'create_date': fields.datetime('Create Date', readonly=True),
'write_date': fields.datetime('Last Modification Date', readonly=True),
}
_defaults = {
'priority': 16,