diff --git a/odoo/fields.py b/odoo/fields.py index 1ab3cd112f3..b647fffc850 100644 --- a/odoo/fields.py +++ b/odoo/fields.py @@ -884,10 +884,6 @@ class Field(MetaField('DummyField', (object,), {})): # Conversion of values # - def null(self, record): - """ Return the null value for this field in the record format. """ - return False - def convert_to_column(self, value, record, values=None, validate=True): """ Convert ``value`` from the ``write`` format to the SQL format. """ if value is None or value is False: @@ -2846,9 +2842,6 @@ class _Relational(Field): return f"[('company_id', 'in', [{cid}, False])]" return self.domain(env[self.model_name]) if callable(self.domain) else self.domain - def null(self, record): - return record.env[self.comodel_name] - class Many2one(_Relational): """ The value of such a field is a recordset of size 0 (no