override write method in to the ir.ui.view to store the new customised view for dash board for user

bzr revid: mga@tinyerp.com-20080725105146-4ebhtsmhrwxbvpsn
This commit is contained in:
mga@tinyerp.com 2008-07-25 16:21:46 +05:30
parent 25b342f52a
commit 7b21d44b03
1 changed files with 6 additions and 1 deletions

View File

@ -70,7 +70,12 @@ class view(osv.osv):
_constraints = [
(_check_xml, 'Invalid XML for View Architecture!', ['arch'])
]
def write(self, cr, uid, ids, vals, context={}):
print ids, vals
result = super(view, self).write(cr, uid, ids, vals, context)
return result
view()
class UserView(osv.osv):