diff options
| author | Olivier Dony <odo@openerp.com> | 2017-05-16 12:12:30 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-05-16 12:12:30 +0200 |
| commit | 9b3ca1af23433e2871ac64ec967a931fd0336658 (patch) | |
| tree | eeaf167a9c5ec5edcd414b8ea4b5f21af4a744bc /odoo/models.py | |
| parent | 3d63b50fe26cf565be52499ad88c5dd1a83d0f81 (diff) | |
| parent | 1545995b393a1d347c6c1988da03dd1c6f1ea037 (diff) | |
[MERGE] Forward-port 10.0 up to 1545995b393a1d347c6c1988da03dd1c6f1ea037
Diffstat (limited to 'odoo/models.py')
| -rw-r--r-- | odoo/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/models.py b/odoo/models.py index e14231646b0..d334fedf18d 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -2780,7 +2780,7 @@ class BaseModel(object): cls = type(self) cls._setup_done = False # a model's base structure depends on its mro (without registry classes) - cls._model_cache_key = tuple(c for c in cls.mro() if not getattr(c, 'pool', None)) + cls._model_cache_key = tuple(c for c in cls.mro() if getattr(c, 'pool', None) is None) @api.model def _setup_base(self, partial): |
