Browse Source

[IMP] improve compatibility layer, use related field: fix capital C

pull/105/head
Thibault Francois 7 years ago
committed by Elouan
parent
commit
53f7ce639c
  1. 4
      partner_firstname/models/partner.py

4
partner_firstname/models/partner.py

@ -33,5 +33,5 @@ class Partner(models.Model):
rec.lastname = rec.name rec.lastname = rec.name
#Compatibility with old name use in beedoo #Compatibility with old name use in beedoo
last_name = fields.char(related='lastname')
first_name = fields.char(related='firstname')
last_name = fields.Char(related='lastname')
first_name = fields.Char(related='firstname')
Loading…
Cancel
Save