diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-05-04 14:16:01 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-05-04 14:16:01 +0200 |
| commit | 69e54dcac21df49b9241f2dc281e7fcbad023cc8 (patch) | |
| tree | f49c68d896f75d8a2f481eaaac601767f9054ef0 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 8bf4cf118bed75695957e9f694f575061e924b93 (diff) | |
| parent | 2090986b0676957b84b95291f8e941b24b1cb101 (diff) | |
[MERGE] mail, various: update record when creating a customer from chatter suggestion
Currently using chatter it is possible to create customers directly when
posting a message. Unknown email addresses are proposed to the user that
can create customers directly in the posting process.
However the record is not updated. Several models like lead, issue, ticket
or event track have a customer (partner_id) field that is not updated even
when a customer is created from the chatter. Users have to update records
manually.
This merge automates it by updating the record through a post process
hook on message_post that is used in main customer-based addons. A small
improvement is done in the chatter to reload the record once posting a
message to a new customer.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
