Merge lp:~openerp-dev/openobject-addons/7.0-opw-591889-msh into lp:openobject-addons/7.0
Status: | Rejected |
---|---|
Rejected by: | Naresh(OpenERP) |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-591889-msh |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
25 lines (+6/-2) 1 file modified
mail/static/src/js/mail.js (+6/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-591889-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mohammed Shekha(Open ERP) (community) | Needs Resubmitting | ||
Thibault Delavallée (OpenERP) | Pending | ||
Review via email: mp+164716@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of AttributeError: 'NoneType' object has no attribute 'exists' when we compose a new mail with attachement from button Compose a new message on mail wall.
Demo:- Goto Messaging -> Click on Compose a new message, add attachment and the send, faced traceback.
Reason:- context not passed in action when compose a mail from "Compose a new message" button, hence not fetched in default_get and default_res_model and default_res_id not set due to which traceback faced.
Thanks.
Unmerged revisions
- 9142. By Mohammed Shekha<email address hidden>
-
[FIX]Fixed the issue of AttributeError: 'NoneType' object has no attribute 'exists' when we compose a new mail with attachement from button Compose a new message on mail wall.
Hello,
In mail_thread. message_ post(), we want to attach manually added attachments (having mail.compose. message model) to the message's document (having in our case a False model). As we could have 'free' attachments in the 7.0 modeling of the communication, being able to write False as res_model is required.
The server fix has been merged into 7.0. This merge proposal is therefore not necessary anymore.
Best regards,