-
- Downloads
[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.
No related branches found
No related tags found
Showing
- addons/crm/models/crm_lead.py 13 additions, 0 deletionsaddons/crm/models/crm_lead.py
- addons/crm/views/crm_lead_views.xml 2 additions, 2 deletionsaddons/crm/views/crm_lead_views.xml
- addons/event/models/event.py 14 additions, 0 deletionsaddons/event/models/event.py
- addons/event/views/event_views.xml 1 addition, 1 deletionaddons/event/views/event_views.xml
- addons/hr_recruitment/models/hr_recruitment.py 13 additions, 1 deletionaddons/hr_recruitment/models/hr_recruitment.py
- addons/hr_recruitment/views/hr_recruitment_views.xml 1 addition, 1 deletionaddons/hr_recruitment/views/hr_recruitment_views.xml
- addons/mail/models/mail_thread.py 6 additions, 0 deletionsaddons/mail/models/mail_thread.py
- addons/mail/static/src/js/chatter.js 7 additions, 1 deletionaddons/mail/static/src/js/chatter.js
- addons/mail/static/src/js/chatter_composer.js 1 addition, 1 deletionaddons/mail/static/src/js/chatter_composer.js
- addons/project_issue/models/project_issue.py 13 additions, 0 deletionsaddons/project_issue/models/project_issue.py
- addons/project_issue/views/project_issue_views.xml 1 addition, 1 deletionaddons/project_issue/views/project_issue_views.xml
- addons/website_event_track/models/event_track.py 14 additions, 0 deletionsaddons/website_event_track/models/event_track.py
- addons/website_event_track/views/event_track_views.xml 1 addition, 1 deletionaddons/website_event_track/views/event_track_views.xml
Loading
Please register or sign in to comment