diff --git a/odoo/api.py b/odoo/api.py index bace379051b..38e9234946e 100644 --- a/odoo/api.py +++ b/odoo/api.py @@ -613,6 +613,7 @@ class Environment(Mapping): """ Clear all record caches, and discard all fields to recompute. This may be useful when recovering from a failed ORM operation. """ + lazy_property.reset_all(self) self.cache.invalidate() self.all.tocompute.clear() self.all.towrite.clear()