diff options
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 8af30b89bb5..f88bcce1dca 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -3705,7 +3705,7 @@ Record ids: %(records)s if not field: raise ValueError("Invalid field %r on model %r" % (key, self._name)) if field.company_dependent: - irprop_def = self.env['ir.property'].get(key, self._name) + irprop_def = self.env['ir.property']._get(key, self._name) cached_def = field.convert_to_cache(irprop_def, self) cached_val = field.convert_to_cache(val, self) if cached_val == cached_def: |
