Partner firstname

Specifications to separate firstname and lastname

We want :
* a field for the firstname
* a field for the lastname
* to keep having one field for the company name
* to be able to search in firstname and lastname
* to manage the order of appearance
* to display "firstname lastname" in the form and in the search results
* to display "Company, firstname lastname" in everything related to a partner (partner_id in a sale order for example)
* to continue passing the tests
* a generic solution that will be easy to maintain and migrate

Existing modules related to the same topic :
* base_partner_contact
* base_person

Readings
* http://www.w3.org/International/questions/qa-personal-names

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
Accepted for 7.0
Implementation:
Implemented
Milestone target:
None
Started by
Maxime Chambreuil (http://www.savoirfairelinux.com)
Completed by
Maxime Chambreuil (http://www.savoirfairelinux.com)

Whiteboard

Proposal 1 (full_name)

* Add a field firstname
* Reuse the name field to enter the lastname
* Create a field full_name which concatenate firstname and name
* Overwrite name_get and name_search methods

Proposal 2 (lastname)

* Add a field firstname
* Add a field lastname
* Overwrite name field to concatenate firstname and lastname

Acsone Team proposed (https://code.launchpad.net/~nemry/partner-contact-management/7.0-partner-firstname/+merge/202713) some improvments and fixes keeping the philosophy of the current addon here explained as "Proposal 2". Note that the "Proposal 1" is a new way to handle the feature never approached before. Note also:
* with the Acsone MP the lp:1203457 cannot be reproduced
* it does not fix unfortunately the yaml test failure (lp:1269036) encountered in the "edi" standard module, nor the wish explained in lp:1269375
* It improves also the "quality issue" mentionned in https://code.launchpad.net/~eh-dem/partner-contact-management/remove_is_company/+merge/202543

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.