diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-11-14 16:05:00 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-11-14 16:05:00 +0100 |
| commit | 4e2609f35fc9c7a31567312f63fd53285695f78d (patch) | |
| tree | 89e26da0b4d6743505e67bca58448068f60a0f71 /addons/note/note.py | |
| parent | f0569f7133227fc07e9798e451b757205b5429e7 (diff) | |
| parent | 3b31bdd2951c9a43efd8e320de5bee5f3563af82 (diff) | |
[MERGE] Mail: improve incoming/outgoing emails behavior
Main:
- updated overall code to match the new mail openerp tools
- message_route: after checking the headers to find if the incoming email is a reply in an existing discussion, it checks whether the email is a reply to a private discussion (without model, res_id), based on the message_id of the mail; it then relies on the aliases then fetchmail, as before
- incoming emails and quick posting through Chatter now calls message_post_user_api (based on old message_post_api), that performs some things the composer do on its side (adding recipients of a replied message, cleaning the content)
Misc:
- general: updated modules according to the new tools mail functions
- general: message related to a new app installation now have a comment subtype, meaning they will effectively be pushed
- mail: improved set_message_read, fixed a bug with message_id
- fetchmail: fixed a bug in fetchmail module about non-existing variable
- portal: updated demo data
bzr revid: tde@openerp.com-20121114150500-pzj8zhyt5e29aekb
Diffstat (limited to 'addons/note/note.py')
| -rw-r--r-- | addons/note/note.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/note/note.py b/addons/note/note.py index fe5eca5efd7..9e1a9187095 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -20,9 +20,7 @@ ############################################################################## from openerp.osv import osv, fields -from tools.translate import _ -import re -from openerp.tools.misc import html2plaintext +from openerp.tools import html2plaintext class note_stage(osv.osv): """ Category of Note """ |
