From 590102e87e3d6860c8a399b266181ca953755212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 14 Jan 2025 01:04:46 +0100 Subject: [PATCH] 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 --- trytond/trytond/model/fields/one2one.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trytond/trytond/model/fields/one2one.py b/trytond/trytond/model/fields/one2one.py index 9d7207a62a..0a44fba384 100644 --- a/trytond/trytond/model/fields/one2one.py +++ b/trytond/trytond/model/fields/one2one.py @@ -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): '''