diff options
Diffstat (limited to 'odoo/fields.py')
| -rw-r--r-- | odoo/fields.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/odoo/fields.py b/odoo/fields.py index d39fa6e35fa..36d815215ff 100644 --- a/odoo/fields.py +++ b/odoo/fields.py @@ -769,16 +769,6 @@ class Field(MetaField('DummyField', (object,), {})): # Conversion of values # - def cache_key(self, record): - """ Return the key to get/set the value of ``self`` on ``record`` in - cache, the full cache key being ``(self, record.id, key)``. - """ - env = record.env - # IMPORTANT: odoo.api.Cache.get_records() depends on the fact that the - # result does not depend on record.id. If you ever make the following - # dependent on record.id, don't forget to fix the other method! - return env if self.context_dependent else (env.cr, env.uid) - def null(self, record): """ Return the null value for this field in the record format. """ return False |
