Browse Source

[FIX] Allow migration from another similar addon

pull/209/head
Antonio Espinosa 9 years ago
parent
commit
6ce036254d
  1. 2
      partner_second_lastname/models.py

2
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):

Loading…
Cancel
Save