bzr revid: fp@tinyerp.com-20090126233645-mlcblm8wut0kza4v
This commit is contained in:
Fabien Pinckaers 2009-01-27 00:36:45 +01:00
parent 6e6d409ce8
commit a50cd6123f
1 changed files with 3 additions and 3 deletions

View File

@ -376,17 +376,17 @@ class ir_model_access(osv.osv):
# Check rights on actions
#
def write(self, cr, uid, *args, **argv):
self.call_cache_clearing_methods()
self.call_cache_clearing_methods(cr)
res = super(ir_model_access, self).write(cr, uid, *args, **argv)
return res
def create(self, cr, uid, *args, **argv):
self.call_cache_clearing_methods()
self.call_cache_clearing_methods(cr)
res = super(ir_model_access, self).create(cr, uid, *args, **argv)
return res
def unlink(self, cr, uid, *args, **argv):
self.call_cache_clearing_methods()
self.call_cache_clearing_methods(cr)
res = super(ir_model_access, self).unlink(cr, uid, *args, **argv)
return res