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
This commit is contained in:
Cédric Krier committed 2025-01-14 01:04:46 +01:00
1 parent 32914eff90
commit 590102e87e
1 file changed
+1
+1
View File
@@ -8,6 +8,7 @@ from trytond.pool import Pool
class One2One(Many2Many):
_type = 'one2one'
_py_type = None
def get(self, ids, model, name, values=None):
'''