diff --git a/partner_firstname/__openerp__.py b/partner_firstname/__openerp__.py index a75b13d3d..b2cae6906 100644 --- a/partner_firstname/__openerp__.py +++ b/partner_firstname/__openerp__.py @@ -19,8 +19,9 @@ ############################################################################## {'name': 'Partner first name, last name', - 'description': """Split first name last name on res.partner. -The field name become a stored function field concatenating lastname, firstname + 'description': """Split first name and last name on res.partner. + +The field 'name' becomes a stored function field concatenating lastname, firstname """, 'version': '1.0', 'author': 'Camptocamp', diff --git a/partner_firstname/partner.py b/partner_firstname/partner.py index ded8ab832..9b44641d2 100644 --- a/partner_firstname/partner.py +++ b/partner_firstname/partner.py @@ -42,7 +42,7 @@ class ResPartner(Model): def create(self, cursor, uid, vals, context=None): """To support data backward compatibility we have to keep this overwrite even if we - use fnct_inv else we can't create entry as lastname is mandatory and module + use fnct_inv: otherwise we can't create entry because lastname is mandatory and module will not install if there is demo data""" to_use = vals if vals.get('name'):