Browse Source

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

pull/53/head
Thibault Francois 7 years ago
parent
commit
5da97da546
  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