From bcbd263214dd509a209e5189b820327c35c021ff Mon Sep 17 00:00:00 2001
From: Fabien Pinckaers <fp@tinyerp.com>
Date: Sun, 11 May 2014 09:47:55 +0200
Subject: [PATCH] [IMP] Adding fields

bzr revid: fp@tinyerp.com-20140511074755-5b3iy2b1xk7cjxmf
---
 openerp/addons/base/ir/ir_ui_view.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openerp/addons/base/ir/ir_ui_view.py b/openerp/addons/base/ir/ir_ui_view.py
index 5d2b865e22bf..abe6b323c884 100644
--- a/openerp/addons/base/ir/ir_ui_view.py
+++ b/openerp/addons/base/ir/ir_ui_view.py
@@ -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,
-- 
GitLab