From f0db573ead2ca3c071e6f2839098564a4c5cd5fe Mon Sep 17 00:00:00 2001 From: Roman Widmann Date: Thu, 25 Jan 2018 12:38:34 +0100 Subject: [PATCH] =?UTF-8?q?Fall=204560:=20Eindeutige=20ID=20-=20UID,=20Uni?= =?UTF-8?q?que=20Constraint=20wieder=20raus,=20da=20keine=20L=C3=B6sung=20?= =?UTF-8?q?f=C3=BCr=20das=20Problem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext/custom-addons/dp_custom/models/res_partner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/custom-addons/dp_custom/models/res_partner.py b/ext/custom-addons/dp_custom/models/res_partner.py index 5f90dd0f..b99ecebc 100644 --- a/ext/custom-addons/dp_custom/models/res_partner.py +++ b/ext/custom-addons/dp_custom/models/res_partner.py @@ -60,8 +60,7 @@ class Partner(models.Model): _sql_constraints = [ ('ref_uniq', 'unique(ref)', 'Die Interne Referenz muss eindeutig sein'), - ('portal_id_uniq', 'unique(portal_id)', 'Die Portal-ID muss eindeutig sein'), - ('is_company_vat_uniq', 'unique(is_company, vat)', 'Die USt. ID muss eindeutig sein') + ('portal_id_uniq', 'unique(portal_id)', 'Die Portal-ID muss eindeutig sein') ] @api.model