Remove python type inherited from Many2Many of One2One

The python type is used to test the type of value set but for One2One it is an
instance which can not be tested with a simple Python type.

Closes #13817
(grafted from 34725c999ed27d30323e3dbc605b5c8522c8b924)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2025-01-14 01:04:46 +01:00
parent 2e5d364979
commit cfcf0c7a06
+1
View File
@@ -11,6 +11,7 @@ class One2One(Many2Many):
Define one2one field (``int``).
'''
_type = 'one2one'
_py_type = None
def get(self, ids, model, name, values=None):
'''