diff options
| author | fw-bot <otis@odoo.com> | 2019-10-14 07:37:27 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-14 12:24:17 +0000 |
| commit | 728e23877f273a92044d97fc781690e276820a7a (patch) | |
| tree | 97b4081efbc78f99be67dfd4f9ec1656cf022b51 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 1c1b440a7010ccafd7f06426ddb9b678aa440993 (diff) | |
[FIX] base: impossible to change contact name format
- Create a sales order for a company with a contact name.
- Click the Preview button.
- The company and contact names appear on the same line, only separated by a
comma.
Before this commit:
it's not possible to easily override this behavior.
After this commit:
it's possible to override `Partner._get_contact_name` to change the format of
contact name.
Beware that this method is used in `_get_name` which is called from various
places. A check on the context may be necessary.
closes odoo/odoo#38712
Opw: 2077294
X-original-commit: 0b8f3f93a2cb05cc9c940964fe80acd23b86b8a0
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
