diff --git a/trytond/model/modelstorage.py b/trytond/model/modelstorage.py index 8fee5c1e04..578d8a7716 100644 --- a/trytond/model/modelstorage.py +++ b/trytond/model/modelstorage.py @@ -152,11 +152,6 @@ class ModelStorage(Model): self.raise_user_error(cursor, 'write_xml_record', error_description='xml_record_desc', context=context) - # Restart rule cache - if rule_group_obj.search(cursor, 0, [ - ('model.model', '=', self._name), - ], context=context): - rule_obj.domain_get(cursor.dbname) return False def delete(self, cursor, user, ids, context=None):