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:
parent
25b342f52a
commit
7b21d44b03
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue