205
205
self.read_template.clear_cache(self)
206
206
ret = super(view, self).write(cr, uid, ids, vals, context)
211
for view_ in self.browse(cr, uid, ids, context=context):
213
self.pool.get('ir.model.data').write(cr, openerp.SUPERUSER_ID, view_.model_data_id.id, {'noupdate': True})
209
216
def copy(self, cr, uid, id, default=None, context=None):