Sunday, December 23, 2018
1 change · master
Enhancements to existing features
Users and customizations can now provide more information when creating a contact from the chatter, instead of being limited to a name and email. This makes contact creation from CRM leads and other records more consistent with existing business rules and reduces manual follow-up edits.
Original PR description
Before this commit, when a partner is created from any model's chatter, the pop-up dialog's values are harcoded at JS level and nothing but the default name and email could be set. After this commit, values are passed as an additional argument, which allows to set any value as needed, including default values for the partner, and the window title's text. This also improves the method's docstring, to reflect this changes. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr