Browse Source

Merge pull request #209 from Antiun/fix-partner_second_lastname_compat

[FIX] Allow migration from another similar addon
pull/222/head
Rafael Blasco 9 years ago
parent
commit
e8e1844d3e
  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