From 6ce036254d7f0aed0b215a83aab314738103ccd3 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Thu, 3 Dec 2015 11:11:24 +0100 Subject: [PATCH] [FIX] Allow migration from another similar addon --- partner_second_lastname/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_second_lastname/models.py b/partner_second_lastname/models.py index d2b48741c..cfec13f89 100644 --- a/partner_second_lastname/models.py +++ b/partner_second_lastname/models.py @@ -11,7 +11,7 @@ class ResPartner(models.Model): _inherit = "res.partner" - lastname2 = fields.Char("Second last name") + lastname2 = fields.Char("Second last name", oldname="lastname_second") @api.model def _get_computed_name(self, lastname, firstname, lastname2=None):