Browse Source

FIX call super _register_hook

pull/84/head
eLBati 9 years ago
parent
commit
c2f4f2de34
  1. 1
      base_field_validator/ir_model.py

1
base_field_validator/ir_model.py

@ -64,6 +64,7 @@ class IrModel(orm.Model):
def _register_hook(self, cr, ids=None):
""" Wrap the methods `create` and `write` of the model
"""
super(IrModel, self)._register_hook(cr, ids=ids)
if ids is None:
ids = self.search(
cr, SUPERUSER_ID, [('validator_line_ids', '!=', False)])

Loading…
Cancel
Save