From ffd93a9937630df54e84eb80700674025dbc4b3d Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Wed, 3 May 2017 15:36:44 +0200 Subject: [PATCH] [REF] models: do vacuum of transient models by cron only --- odoo/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/odoo/models.py b/odoo/models.py index 61dc5858a74..b428813fcec 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -3300,10 +3300,6 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})): @api.model def _create(self, vals): - # low-level implementation of create() - if self.is_transient(): - self._transient_vacuum() - # data of parent records to create or update, by model tocreate = { parent_model: {'id': vals.pop(parent_field, None)}