From e4e2b94f75ba07eeabde254f0fa137ce7b7a21be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Honor=C3=A9?= Date: Mon, 12 Nov 2018 13:38:57 +0100 Subject: [PATCH] [11.0][FIX] Fix issue during write on base_partner_sequence --- base_partner_sequence/models/partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 8a3c74b84..29bbf9520 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -34,7 +34,7 @@ class ResPartner(models.Model): for partner in self: if not vals.get('ref') and partner._needsRef(vals) and \ not partner.ref: - vals['ref'] = self._get_next_ref(vals=vals) + vals['ref'] = partner._get_next_ref(vals=vals) super(ResPartner, partner).write(vals) return True