Commit Graph

723 Commits

Author SHA1 Message Date
Chris Biersbach 31d218cc67 [IMP] Project issue: Improved handling of thread_model context value in message_post. Replaced a read by a browse in Project issue write
bzr revid: cbi@openerp.com-20130313083808-o75djyctnj5sgngx
2013-03-13 09:38:08 +01:00
Thibault Delavallee 99063b421f [REV] mail_thread: message_process: reverted reply_to mechanism, now based on the reply_to-model contained in message_id.
bzr revid: tde@openerp.com-20130312133029-67g69s3ttscwhtoc
2013-03-12 14:30:29 +01:00
Thibault Delavallée fcea61b6eb [IMP] mail: added a cron job to delete mail attachments (lost user input or reports generated on-the-fly). They have: res_model = mail.compose.message; res_id 0; more than one day of inactivity.
bzr revid: tde@openerp.com-20130307132517-4xivu90dzn3o744a
2013-03-07 14:25:17 +01:00
Thibault Delavallée 9cf7f70d15 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130307102507-4agvd08e07wu5grq
2013-03-07 11:25:07 +01:00
Thibault Delavallée 5e59420989 [FIX] mail_thread: fixed a list that should be a set. This has nothing to do with the previous commit. Seriously.
bzr revid: tde@openerp.com-20130307093414-wcdakf017sskj35l
2013-03-07 10:34:14 +01:00
Thibault Delavallée 000042ac68 [FIX] mail_thread: fixed set that should not be a set.
bzr revid: tde@openerp.com-20130307093115-9jmflmnf420iiz21
2013-03-07 10:31:15 +01:00
Thibault Delavallée e57ffc4836 [FIX] mail: added wrapper for message_Create_patners_from_emails in mail_thread and res_users; cleaned message_post signature to match the pre-merge signature. Also fixed a wrong argument name in message_post_user_api.
bzr revid: tde@openerp.com-20130307075216-kk0m304405ohm7ua
2013-03-07 08:52:16 +01:00
Thibault Delavallée 445c1aa412 [FIX] mail: added wrapper because of changes introduced in the API recently.
bzr revid: tde@openerp.com-20130306162811-t4505m08nep2jlz4
2013-03-06 17:28:11 +01:00
Thibault Delavallée 4665d10f05 [IMP] mail, email_template: better consistence of mail.compose.message mdoel ans 0 or res_id res_id for attachments on composer; generate_email_for_composer should avoid returning keys for void values.
bzr revid: tde@openerp.com-20130306134612-yazwi6cgwvw8suyw
2013-03-06 14:46:12 +01:00
Thibault Delavallée 9d2dba4ea7 [IMP] mail_thread: handle use_email_to when managing incoming emails.
bzr revid: tde@openerp.com-20130305151332-q6bcr91gk51ugk9v
2013-03-05 16:13:32 +01:00
Thibault Delavallée c63de2c9c2 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130305121955-49g21indundhnca3
2013-03-05 13:19:55 +01:00
Christophe Matthieu 7515824c60 [IMP] display alias on project, crm, hr
bzr revid: chm@openerp.com-20130304151355-g3asldjob722urc0
2013-03-04 16:13:55 +01:00
Christophe Matthieu 8cd3602a9f [IMP] issue: dynamic_help
bzr revid: chm@openerp.com-20130304141240-mpbtizm2y8r01456
2013-03-04 15:12:40 +01:00
Quentin (OpenERP) c450d0abe7 [FIX] mail: fixed error when the reference is given as False in teh message dictionary in message_parse() of mail_thread.py
bzr revid: qdp-launchpad@openerp.com-20130301114630-y4ynidvhh9pj29s9
2013-03-01 12:46:30 +01:00
Anand Patel (OpenERP) 731a022ee0 [MERGE]Trunk
bzr revid: pan@tinyerp.com-20130301070743-aejayq1g3mif79uv
2013-03-01 12:37:43 +05:30
Thibault Delavallée 6de2650299 [IMP] Suggested recipients: check whether an email is linked to a partner.
bzr revid: tde@openerp.com-20130228170546-t04n73pvuwtp20jh
2013-02-28 18:05:46 +01:00
Thibault Delavallée 718d38f056 [FIX] Chatter: mail_post_autofollow can be completed with mail_post_autofollow_partner_ids, that filters the recipients to subscribe. Purpose: suggested partners are added as followers, not people that could have been added after in the compose wizard.
bzr revid: tde@openerp.com-20130228164054-e3y3pdrygqph0dm2
2013-02-28 17:40:54 +01:00
Thibault Delavallée 68545cf6ae [DOC] mail: added some comments.
bzr revid: tde@openerp.com-20130226151531-3zmtcdodmpnh74zh
2013-02-26 16:15:31 +01:00
Thibault Delavallée 53dc52a5c1 [CLEAN] mail_thread: cleaned _get_message_data method. Maybe not the best way, but we tries to avoid using group_by and count because of spurious timing results. Also added some comments.
bzr revid: tde@openerp.com-20130226150707-hzyb8unhsz1i2hh3
2013-02-26 16:07:07 +01:00
Thibault Delavallée 6c3aa520c7 [IMP] mail_followers: improved _notify, to better manage notifications. An optional (to provide compatibility) parameter has been added, that allows to notify partners of a given messages. It checks whether a notification already exists, setting it back as unread, or create a notification pushed by email.
bzr revid: tde@openerp.com-20130226105755-gvkn1ocpwkcndzpl
2013-02-26 11:57:55 +01:00
Thibault Delavallée 0aaca4daa9 [IMP] mail: improved mass mailing. Correctly take into account email_to, email_cc, partner_to even if no template. Mass mailing is a no-subtype post with additional recipients manually notified. Added option (in technical features) to send to followers, or to directly create a mail_mail. Added some default values in mail_message. Added explicit management of email_from and reply_to. Having a reply_to bypasses the 'model-res_id' in message_id behavior allowing to construct threads. Added explicit recipient_ids field on mail_mail that replaces the recipient_ids parameter in mail_mail.send(). Updated tests accordingly.
bzr revid: tde@openerp.com-20130225164857-i635atksj7riq9nd
2013-02-25 17:48:57 +01:00
Thibault Delavallée 0193a29335 [REV] auto_subscribe: back. Added setting first email or message as unread for auto subscribed people.
bzr revid: tde@openerp.com-20130222125610-atovl540kvkv0bq7
2013-02-22 13:56:10 +01:00
Thibault Delavallée 95cd6600da [CLEAN] mail: remove print statements, uncommented a line.
bzr revid: tde@openerp.com-20130222094921-yjdc82lm3m9olvqt
2013-02-22 10:49:21 +01:00
Thibault Delavallée 4c98128d11 [IMP] mail: remove auto_follow on user_id field. Replaced by partner suggestion on user_id, based on message_get_suggested_partners called in Chatter. Improved JS code, to handle various case (partner without email, email without partner, partner with email).
bzr revid: tde@openerp.com-20130221184243-pu2tgtlanh34onpr
2013-02-21 19:42:43 +01:00
Thibault Delavallée c0b4bf55d8 [IMP] [CLEAN] mail: incoming emails have an email_from even if an author is found (do not loose data); fixed author subscription, delegated after message creation (otherwise allows to by-pass most of the access rules); code and comments cleaning.
bzr revid: tde@openerp.com-20130221150849-cydhns582qwrqznz
2013-02-21 16:08:49 +01:00
Thibault Delavallée 64fd407f34 [FIX] mail: fixed mail_post_auto_follow; updated tests accordingly.
bzr revid: tde@openerp.com-20130221142417-hnhqrw9q2uf4agos
2013-02-21 15:24:17 +01:00
Thibault Delavallée e6d1208baa [IMP] mail: removed message_post_user_api, now everyone goes through message_post.
bzr revid: tde@openerp.com-20130221132647-kxbzzyo1bbhb67c4
2013-02-21 14:26:47 +01:00
Thibault Delavallée e09eb34a36 [IMP] mail: auto_follow mechanism moved into message_post.
bzr revid: tde@openerp.com-20130221130900-5l9wu6jrqh3l5yar
2013-02-21 14:09:00 +01:00
Thibault Delavallée e7c630a18f [MERGE] Merged branch holding a first cleaning of message_post and message_post_user_api. Cleaning of auto follow will follow. Hahaha.
bzr revid: tde@openerp.com-20130221130153-k8q1u15mh6e4iwzt
2013-02-21 14:01:53 +01:00
Thibault Delavallée 877033e6b9 [CLEAN] mail: message_post: attachment_ids management delegated to message_post, try to avoid having 2 methods doing the same thing.
bzr revid: tde@openerp.com-20130221101515-13bwys3d9akqg4rq
2013-02-21 11:15:15 +01:00
Thibault Delavallée cd13bb9cf9 [CLEAN] mail: stop doing ugly things with partner_ids values before passing values to mail_message.create().
bzr revid: tde@openerp.com-20130221095906-5rbwnc83mjvpkyhh
2013-02-21 10:59:06 +01:00
Thibault Delavallée c3b6408715 [IMP] Chatter: refactoring of 'include new emails/partners' in Chatter compose. It does not create partner everytime; discarding the creation popup discards the creation and addition as recipient.
bzr revid: tde@openerp.com-20130220124923-w3e9hxomniphadj7
2013-02-20 13:49:23 +01:00
Thibault Delavallée cb2e28f59f [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130218090101-ye6f1gslafpg52bc
bzr revid: tde@openerp.com-20130220102822-aik3ywiz8n043e7x
2013-02-20 11:28:22 +01:00
Bhumi Thakkar (Open ERP) ad6d133d3c [MERGE] Merge lp:openobeject-addons.
bzr revid: bth@tinyerp.com-20130215122526-einsh4wazw2e1lxs
2013-02-15 17:55:26 +05:30
Thibault Delavallée 40234a7a36 [FIX] mail_thread: correctly decode email_from of incoming emails.
bzr revid: tde@openerp.com-20130215110505-yr8leztlwyi3lqme
2013-02-15 12:05:05 +01:00
Thibault Delavallée 48f40c3d6c [MERGE] Sync with 7.0.
bzr revid: tde@openerp.com-20130215110038-gzq9lpwkwdlfbuqq
2013-02-15 12:00:38 +01:00
Olivier Dony 2d8645a722 [MERGE] mail.thread: allow re-entry in message_post in case of cross-model notifications via message_process
bzr revid: odo@openerp.com-20130215103902-xeg14cg2fnn5uz85
2013-02-15 11:39:02 +01:00
Thibault Delavallée 3a8426e5c5 [IMP] mail: message_new in mailgateway is done with nolog context: no 'document created' message.
bzr revid: tde@openerp.com-20130214162011-0xhjo7l5y8733usr
2013-02-14 17:20:11 +01:00
Christophe Matthieu fd315b66f2 [IMP] mail: You have one unread message
bzr revid: chm@openerp.com-20130214143938-aeemq70wl5gnf3k1
2013-02-14 15:39:38 +01:00
Christophe Matthieu b419e8b6c2 [IMP] mail: _get_message_data: display only number of new messages
bzr revid: chm@openerp.com-20130214143417-suf0tyonrewh2a7l
2013-02-14 15:34:17 +01:00
Thibault Delavallée a395638dfa [IMP] mail: better heuristic to find the author of an incoming email: in document's followers, or partner that is an user, or partner.
bzr revid: tde@openerp.com-20130214140701-y2nrnc163szni202
2013-02-14 15:07:01 +01:00
Thibault Delavallée 0d3d15858c [FIX] mail_thread: fixed duplicate emails when replying to an incoming email.
bzr revid: tde@openerp.com-20130214123915-4uxyj0hyy6dw4adu
2013-02-14 13:39:15 +01:00
Olivier Dony 2478d1b221 [FIX] mail.thread: allow re-entry in message_post in case of cross-model notifications via message_process
Previously the `thread_model` key in the context would
cause issues if an incoming message processed by
message_process() triggered another message_post()
call in a different model, because the `thead_model`
would be incorrect in the second call.

bzr revid: odo@openerp.com-20130214120257-c12fkj6pgont9ies
2013-02-14 13:02:57 +01:00
Thibault Delavallée c9e710b5b4 [FIX] mailgateway: author of incoming emails are not put into the recipients anymore.
bzr revid: tde@openerp.com-20130213095942-gwmt2mmthrthca5n
2013-02-13 10:59:42 +01:00
Bhumi Thakkar (Open ERP) 14a0d1b092 [IMP] Add model name instead of document with Created in chatter.
bzr revid: bth@tinyerp.com-20130207051120-1abjmfuukjfyac7z
2013-02-07 10:41:20 +05:30
Christophe Matthieu 1c58057325 [MERGE] from trunk
bzr revid: chm@openerp.com-20130206101612-by10wynzt652kh67
2013-02-06 11:16:12 +01:00
Christophe Matthieu b76f4c7a45 [IMP] salesteams: add sales order and quotation
bzr revid: chm@openerp.com-20130206094414-8f7kp19dam6su991
2013-02-06 10:44:14 +01:00
Thibault Delavallée ee6938f794 [FIX] mail gateway: auto_subscribe is always enabled currently, because of leads created usign the mailgateway by-passing the salesteam and user_id auto followers.
bzr revid: tde@openerp.com-20130131121701-eydjfrukxqq246ey
2013-01-31 13:17:01 +01:00
Thibault Delavallée 6ca19ea42e [IMP] mail: auto_subscribe: moved code to find auto_follow fields into a dedicated method that can be overridden.
bzr revid: tde@openerp.com-20130130132723-ktipo8twxwl6v8ei
2013-01-30 14:27:23 +01:00
Thibault Delavallée ccb2a26406 [IMP] mail: added auto_follow mechanism for some tracked fields like 'user_id' that should be relational fileds towards res.users.
bzr revid: tde@openerp.com-20130130090936-l52gq292h8rq79ue
2013-01-30 10:09:36 +01:00
Chris Biersbach a4f560de87 [FIX] partner_id was only present in an else clause and not in the corresponding if. This caused a traceback when the if was executed.
bzr revid: cbi@openerp.com-20130110134240-0jveuv3pnmn75nu1
2013-01-10 14:42:40 +01:00
Thibault Delavallée b9a182ff1a [FIX] OpenChatter: unknown emails becoming followers was not taken into account when using the mail.compose.message wizard.
When having emails not related to a partner in a discussion thread, checkboxes appear that allow to create a partner that will be added as follower to the related document, if any. This now works either in the quik reply box, or the full composer.

bzr revid: tde@openerp.com-20130108165010-hkhd45ube5s081i5
2013-01-08 17:50:10 +01:00
Thibault Delavallée f43e6599e5 [CLEAN] Renamed a method, deleted a now useless comment.
bzr revid: tde@openerp.com-20130108162539-0xtqg98v5por2b95
2013-01-08 17:25:39 +01:00
Thibault Delavallée cf4c6b442e [CLEAN] Some code cleaning.
bzr revid: tde@openerp.com-20130108161332-e1ekhtneh0mryhno
2013-01-08 17:13:32 +01:00
Thibault Delavallée e2d4f6dac6 [FIX] message_post: now handles partner_ids parameter with extra-caution, creating a set of sets. If partner_ids is a list of ids, or a list of commands under list form, this should work as well.
bzr revid: tde@openerp.com-20130108151332-q349tkjsv0fpb0hm
2013-01-08 16:13:32 +01:00
Quentin (OpenERP) 06d08603cc [FIX] mail: when creating a new object from incoming mail, don't call default_get before the call to super(). The create method from the orm is adding default missing value itself. It is also the cause of a bug on stage selection because custom code in create() is not run when stage_id is given in vals (and it's filled here by default_get() but return a wrong value as context cannot be used from incomming mail).
bzr revid: qdp-launchpad@openerp.com-20130108142021-thtla3868hqvqs0o
2013-01-08 15:20:21 +01:00
Christophe Matthieu 10b92b71d8 [IMP] mail: all email checked create a partner and associate the email from
bzr revid: chm@openerp.com-20130108134424-dthns93bf0w59juf
2013-01-08 14:44:24 +01:00
Christophe Matthieu 9c5fad41ba [MERGE] from 7.0-fix-message_post-partner_ids-tde
bzr revid: chm@openerp.com-20130108133754-o652a1gdfwe3obs2
2013-01-08 14:37:54 +01:00
Thibault Delavallée f91fc3b74f [FIX] message_post: now handles partner_ids parameter with extra-caution, creating a set of sets. If partner_ids is a list of ids, or a list of commands under list form, this should work as well.
bzr revid: tde@openerp.com-20130108130716-hea1fomxog5an61r
2013-01-08 14:07:16 +01:00
Christophe Matthieu fee9f63912 [IMP] mail: create new partner with email from
bzr revid: chm@openerp.com-20130108124310-le3hx95yn3jhfhaq
2013-01-08 13:43:10 +01:00
Olivier Dony db0e0cae0b [FIX] mail.thread: decode_header should ignore empty/None header values
bzr revid: odo@openerp.com-20130107111351-72z36e0pjjikpd0e
2013-01-07 12:13:51 +01:00
Thibault Delavallée 459da1fb46 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130104160227-42e2vjrqf443muy4
2013-01-04 17:02:27 +01:00
Christophe Matthieu e40b49a838 [IMP] mail: htmlEntities for the author email, select list of new partner by real email
bzr revid: chm@openerp.com-20130104111004-9l0hb6zu33o5b2v6
2013-01-04 12:10:04 +01:00
Thibault Delavallée df7eb6120c [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130104105657-s8hif4p63oem8ddz
2013-01-04 11:56:57 +01:00
Thibault Delavallée 0170f78af9 [IMP] Improved logger.
bzr revid: tde@openerp.com-20130103173019-8flxl30b129u8kpz
2013-01-03 18:30:19 +01:00
Thibault Delavallée 982cfa5d47 [FIX] message_route: removed owner of created documents using aliases taken from the 'from' of the incoming email, because we cannot ensure that this user has any create or write access rights. If no owner is defined on the alias, uid will be used instead.
bzr revid: tde@openerp.com-20130103172621-4qoz28npnq4c5e7i
2013-01-03 18:26:21 +01:00
Thibault Delavallée 4630af9750 [FIX] fetchmail: fixed message_process on res.users; now having a message_subscribe method, because of automatic subscription of recognized partners on the document; fixed override of message_post in res_partner, using a wrong type variiable; fixed message_post_user_api giving a set instead of a list.
bzr revid: tde@openerp.com-20130103130457-hr1gpj2nj6mp83he
2013-01-03 14:04:57 +01:00
Thibault Delavallée 4aceb1d1be [FIX] fetchmail: fixed message_process on res.users; now having a message_subscribe method, because of automatic subscription of recognized partners on the document; fixed override of message_post in res_partner, using a wrong type variiable; fixed message_post_user_api giving a set instead of a list.
bzr revid: tde@openerp.com-20130103120015-h9tmekrbbettikr1
2013-01-03 13:00:15 +01:00
Thibault Delavallée 272b2347e6 [FIX] get_reply_to: fixed False value, also returning an array.
bzr revid: tde@openerp.com-20130102135020-s9ssadzms5s8f0hp
2013-01-02 14:50:20 +01:00
Thibault Delavallée c33dff10f1 [IMP] mail: send emails now have a reply_to based on aliases, if defined, and if not reply_to already defined in the mail.mail object.
bzr revid: tde@openerp.com-20130102130025-5wa2k8wzv1vgg2xx
2013-01-02 14:00:25 +01:00
Thibault Delavallée 35139325d7 [IMP] mail: message_track: better display of changes for boolean values (notably for notes). Renamed a var.
bzr revid: tde@openerp.com-20121227113405-j1zgltx22i2vzqdb
2012-12-27 12:34:05 +01:00
Thibault Delavallée d28418f6e4 [FIX] message_post_user_api: fixed subscribe.
bzr revid: tde@openerp.com-20121221152956-h400n3w8hgxleumm
2012-12-21 16:29:56 +01:00
Thibault Delavallée 1ab87ddd67 [CLEAN] Misc code cleaning.
bzr revid: tde@openerp.com-20121221145247-qqd1a1morv99ooow
2012-12-21 15:52:47 +01:00
Thibault Delavallée f922d9ea1f [IMP] mail: refactored a bit the code in message_post_user_api, as well as overrides in res_partner and res_users, to use kwargs. Updated mail.js to use kwargs. Updated mail.xml and css to tweak the display.
bzr revid: tde@openerp.com-20121221144014-otg03akq4c9grjmz
2012-12-21 15:40:14 +01:00
Thibault Delavallée 839d61f97f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221133349-u2lpl29430abrkyw
2012-12-21 14:33:49 +01:00
Christophe Matthieu d650d3c6ba [MERGE] from trunk
bzr revid: chm@openerp.com-20121221124830-8d6hz0b2h3o9c4pd
2012-12-21 13:48:30 +01:00
Christophe Matthieu 8972f7b334 [IMP] mail: check if the new email recipient already exist or not, and fix _api
bzr revid: chm@openerp.com-20121221121144-o8pbya2rc7v471y0
2012-12-21 13:11:44 +01:00
Thibault Delavallée 19efa31b51 [FIX] mail: attachments were not send by email.
bzr revid: tde@openerp.com-20121221113927-4q90f0in645gorj9
2012-12-21 12:39:27 +01:00
Christophe Matthieu f080e91168 [IMP] mail: add message 'Add this contact's email on recipient and follower'
bzr revid: chm@openerp.com-20121221111400-ngc62hepbgzqepy8
2012-12-21 12:14:00 +01:00
Christophe Matthieu 9fe900791d [IMP] follower: must have access write to invite follower
bzr revid: chm@openerp.com-20121221110003-h7h9cie4vcejif7z
2012-12-21 12:00:03 +01:00
Christophe Matthieu e5c67bc1b9 [IMP] mail: open wizard(s) to create partner(s) before send message from email
bzr revid: chm@openerp.com-20121221101232-od1owyxhkhmorx5t
2012-12-21 11:12:32 +01:00
Thibault Delavallée f49f43958d [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221100609-2x59amtxj4sjedcu
2012-12-21 11:06:09 +01:00
Thibault Delavallée c88008856e [IMP] message_process: author of incoming emails that are partner are automatically subscribed to the created or updated document.
bzr revid: tde@openerp.com-20121221100352-eraewn17t2ls831q
2012-12-21 11:03:52 +01:00
Christophe Matthieu a057391199 [IMP] mail: message_post_user_api don't return the id partner if already exist
bzr revid: chm@openerp.com-20121221081521-dase1mbdutm1whri
2012-12-21 09:15:21 +01:00
Christophe Matthieu 66623391ff [IMP] mail: send an empty context for the name_create when we convert email_from to partner
bzr revid: chm@openerp.com-20121220163514-185r5vrb0omcgp5g
2012-12-20 17:35:14 +01:00
Christophe Matthieu 507eff8255 [IMP] mail: after convert email_from into partner, open a dialog box to complete partner informations
bzr revid: chm@openerp.com-20121220162754-v5wfxrp39nf0bkla
2012-12-20 17:27:54 +01:00
Christophe Matthieu 4fe3f5862a [FIX] mail: get set (python) of partners for email_from
bzr revid: chm@openerp.com-20121220153658-iptoh0u0baa7u3rn
2012-12-20 16:36:58 +01:00
Christophe Matthieu 79308644c9 [IMP] mail follower: allow to remove followers if the user have access to write on the document
bzr revid: chm@openerp.com-20121220140946-hqqkz62xyn0oq9g8
2012-12-20 15:09:46 +01:00
Christophe Matthieu 40b1c95e1a [IMP]mail: display checkbox for allow to add email (from email_from value) for creating partner and send email to this new partners.
bzr revid: chm@openerp.com-20121220123122-qsqn8w97t1tre3cq
2012-12-20 13:31:22 +01:00
Thibault Delavallée a8669ef64e [FIX] Fixed renaming of track_visibility values into string.
bzr revid: tde@openerp.com-20121220121744-15hcehmxsya789z9
2012-12-20 13:17:44 +01:00
Thibault Delavallée 98ebd42e58 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121220115441-6m7l1bs8hcvf87mv
2012-12-20 12:54:41 +01:00
Thibault Delavallée e3c31cab9e [IMP] track_visibility atribute: moved onto explicit strings.
bzr revid: tde@openerp.com-20121220114730-nip8qaaajr5mqw6s
2012-12-20 12:47:30 +01:00
Thibault Delavallée 8d26e78582 [IMP] Addons: removed bold in subtype descriptions.
bzr revid: tde@openerp.com-20121219212330-xfx3lykstl1nsa8m
2012-12-19 22:23:30 +01:00
Thibault Delavallée 2f8c05d4a5 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219201730-dahlsv2010z2kxt9
2012-12-19 21:17:30 +01:00
Fabien Pinckaers b0cb29dea2 [IMP] Adding an extra_email argument to message_post_user_api
bzr revid: fp@tinyerp.com-20121219181835-twsoxzlu9x7y3mqr
2012-12-19 19:18:35 +01:00
Olivier Dony 833fcbd7a2 [FIX] mail: avoid duplicate notifications when receiving inbound mails
- disable auto-follow of system user used by mail
  gateway, when message_process calls message_new
  (otherwise this user would be a follower of all
  new records)
- avoid matching multiple partners with the same
  email when looking up partner_id for inbound
  emails - just 1 partner per email is enough
  (avoids more duplicates)
- delay setting partner_ids on mail_messages posted
  by the mail gateway, in order to avoid notifying
  again people who were direct recipient of the 
  message in the first place
  (should perhaps be improved to only do that for
  external emails, i.e. emails that are not
  present in the mail.alias table)

bzr revid: odo@openerp.com-20121219181003-xvw5q0dd3t2jtjw9
2012-12-19 19:10:03 +01:00
Thibault Delavallée 86200b4d9c [DOC] [IMP] mail_thread: updated documented the few magic context keys, mail_notify_noemail, mail_create_nosubscribe and mail_create_nolog.
bzr revid: tde@openerp.com-20121219171501-5ndw7aawi8kvttql
2012-12-19 18:15:01 +01:00
Thibault Delavallée 20863bd787 [CLEAN] mail: cleaned and updated automatic followers, now also possible on write without having to add something specific. parent_field -> relation_field on message.subtype model. Templates of automatic tracking do not use mako anymore, not necessary for small messages. Added a tmp hack in mail_message to avoid a crash, do not forget to remove it.
bzr revid: tde@openerp.com-20121219164239-3vbj4zfqv4j6ct32
2012-12-19 17:42:39 +01:00
Thibault Delavallée 2348a598d5 [FIX] mail_thread: write could receive integer instead of list for write.
bzr revid: tde@openerp.com-20121219123142-t3y2awe0du245s3l
2012-12-19 13:31:42 +01:00
Thibault Delavallée a68561da81 [IMP] mail: track: added a debug log if subtype not found; added a default message on log without subtype.
bzr revid: tde@openerp.com-20121219121346-me3201j9johj8s4r
2012-12-19 13:13:46 +01:00
Thibault Delavallée fd8f0dfa65 [FIX] FIxed last fix. changed fields must include invisible fields that are in the _track structure.
bzr revid: tde@openerp.com-20121219113205-wa5dt7vpsxjmwav0
2012-12-19 12:32:05 +01:00
Thibault Delavallée 91af1e1e59 [FIX] mail: fixed message_track (subtype not found, style, var_name; updated tests with new implementation.
bzr revid: tde@openerp.com-20121219110502-j43pilfijv91td2q
2012-12-19 12:05:02 +01:00
Thibault Delavallée 69f53147d9 [DOC] mail: added a comment about _track structure.
bzr revid: tde@openerp.com-20121219093844-8p97xhnq4i7yqn4l
2012-12-19 10:38:44 +01:00
Fabien Pinckaers e1be2b071a [FIX] fix _track stuff
bzr revid: fp@tinyerp.com-20121219004222-x0gt6qhvwhcpdgld
2012-12-19 01:42:22 +01:00
Fabien Pinckaers 896d5a41fe [MOD] use read() instead of browse
bzr revid: fp@tinyerp.com-20121219000402-k1qh6bazj2i8xnrd
2012-12-19 01:04:02 +01:00
Fabien Pinckaers 065821dfd6 [MOD] use read() instead of browse
bzr revid: fp@tinyerp.com-20121218234907-j672neyvifmo4bur
2012-12-19 00:49:07 +01:00
Thibault Delavallée 8e0c7f9781 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121218181852-j9qg1po5y4yw67ko
2012-12-18 19:18:52 +01:00
Olivier Dony fc0c2942ba [MERGE] Another batch of bugfixes from 6.1
bzr revid: odo@openerp.com-20121218175547-7c1uxq4ypbi314gx
2012-12-18 18:55:47 +01:00
Thibault Delavallée 6dc32eb287 [REF] Hr_holidays: used track_visibility and _track, removed extra chatter messages.
bzr revid: tde@openerp.com-20121218164217-0kn9hu9yrgkl0x8n
2012-12-18 17:42:17 +01:00
Stephane Wirtel 168b590929 [FIX] mail.thread.route: ignore missing In-Reply-Tos
bzr revid: stw@openerp.com-20121218163715-8l0qk8fhrg23d4er
2012-12-18 17:37:15 +01:00
Thibault Delavallée f8b3788fde [IMP] mail: refactored mechanism for auto subscription, based on a parent. Mapping of subtypes is done using parent_id and parent_field on child subtypes. For example, project subtypes are linked to task subtypes, using parent_id and parent_field project_id, to browse task.project_id.
bzr revid: tde@openerp.com-20121218153457-uh50bjedvxaawdqj
2012-12-18 16:34:57 +01:00
Thibault Delavallée 50d0533939 [MERGE] Sync with trunk, to have last fixes about CRM.
bzr revid: tde@openerp.com-20121218140842-ctuzgms6dqr6c296
2012-12-18 15:08:42 +01:00
Thibault Delavallée b95b32d644 [MERGE] Merged branch holding subtype work by APA.
bzr revid: tde@openerp.com-20121218131142-2jb6wac6y9q6dc7v
2012-12-18 14:11:42 +01:00
Olivier Dony a841f06677 [FIX] mail.thread.route: safer parsing of envelope headers, courtesy of Jordi Llonch
The Delivered-To cannot be considered
exclusively authoritative, as it is
commonly overwritten due to virtual
routes during mail delivery.
Its primary purpose is to avoid mail
loops, so it cannot be fully trusted 
here.

lp bug: https://launchpad.net/bugs/1085488 fixed

bzr revid: odo@openerp.com-20121218122935-vbcld3vrl260z96m
2012-12-18 13:29:35 +01:00
Thibault Delavallée bfea9dad64 [REF] mail: refactored tracked feature. It is now based on a dict defined at model level, giving which subtypes are triggere when modifying some given fields. Cleaned code.
bzr revid: tde@openerp.com-20121218122558-mnrtlwouwai65gq6
2012-12-18 13:25:58 +01:00
Thibault Delavallée 2dbe4a696e [MERGE] Sync wirth trunk.
bzr revid: tde@openerp.com-20121218093241-y0id5g1r1k6yok42
2012-12-18 10:32:41 +01:00
Olivier Dony b67f73c327 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121218025230-zig415ldtmazgbxt
2012-12-18 03:52:30 +01:00
Olivier Dony 84d7987f33 [MERGE] Bugfixes from 6.1 until revision 6900
rev.6900 = xal@openerp.com-20120720134532-t07xr3lp8ouhn2dv

bzr revid: odo@openerp.com-20121218021123-9ligpn7bkr9zo4n7
2012-12-18 03:11:23 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Foram Katharotiya (OpenERP) 7608fe70de [IMP] add generic method _subscribe_followers_subtype in mail_thread & remove method in all module
bzr revid: fka@tinyerp.com-20121217073817-8kmp0j3kn39gyrwg
2012-12-17 13:08:17 +05:30
Sanjay Gohel (Open ERP) de45fd4fc1 [MERGE]with trunk
bzr revid: sgo@tinyerp.com-20121217050659-q5w6zwefizgjv4fd
2012-12-17 10:36:59 +05:30
Thibault Delavallée f64d4a5ada [CLEAN] mail: misc cleaning of read -> browse, SUPERUSER_ID -> uid, because no need to SUPERUSER in this case.
bzr revid: tde@openerp.com-20121212160804-n182n9bzo8vscuvt
2012-12-12 17:08:04 +01:00
Thibault Delavallée 347d0e5b46 [IMP] portal removed access rights of portal user on res_partner and derived tables. Updated several accesses to bypass the security issues. Updated portal tests to have a more complete test scenario.
bzr revid: tde@openerp.com-20121212125518-k0s07niojr8a1xtu
2012-12-12 13:55:18 +01:00
Thibault Delavallée 0a8c55f6f4 [FIX] mail_thread: when deleting a document, delete all followers, using superuser_id to bypass various security rules.
bzr revid: tde@openerp.com-20121212104141-dogt5gi2v70vyr7d
2012-12-12 11:41:41 +01:00
Thibault Delavallée 3a1e0059a2 [MERGE] Merged branch holding fix of access rights when deleting a document, and the removal of inherits between mail.group and ir.ui.menu.
bzr revid: tde@openerp.com-20121211145536-a02i45isg30l9940
2012-12-11 15:55:36 +01:00
Sanjay Gohel (Open ERP) 26fd182e32 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063215-44s68mudkztyy56b
2012-12-11 12:02:15 +05:30
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Thibault Delavallée d8235eec3c [CLEAN] _auto_join -> auto_join.
bzr revid: tde@openerp.com-20121205153609-tncmotw8jnoa53e7
2012-12-05 16:36:09 +01:00
Christophe Matthieu 852b219cec [FIX] mail: when a user try to delete a document, no access error. debug: delete followers after the document.
bzr revid: chm@openerp.com-20121205150827-24q03x65tplsgg4t
2012-12-05 16:08:27 +01:00
Thibault Delavallée 85d1f4fcb1 [IMP] mail_thread: message_unread: fixed domain of fnct_search, unread message have to_read flag at True, not false.
bzr revid: tde@openerp.com-20121205140539-5g6ebfx4j425xglr
2012-12-05 15:05:39 +01:00
Thibault Delavallée 3e2651998f [MERGE] Merged addons branch trunk-join-speedup-tde, holding mail_message modifications to have favorite_user_ids -> starred, functional searchable field. This field checks if there is a related notification, for the current user, about the starred flag.
bzr revid: tde@openerp.com-20121205095554-80pxwnuaaq2lz638
2012-12-05 10:55:54 +01:00
Thibault Delavallée 3bb1475f6e [FIX] mail_thread: fixed search domain on message_unread that was buggy.
bzr revid: tde@openerp.com-20121205095020-932qhljgd5ll9nzb
2012-12-05 10:50:20 +01:00
Sanjay Gohel (Open ERP) 0b6059cdb2 [IMP]minor changes
bzr revid: sgo@tinyerp.com-20121205060254-82gnc2y2w37d0pi5
2012-12-05 11:32:54 +05:30
Sanjay Gohel (Open ERP) 73343c5656 [IMP]improve code
bzr revid: sgo@tinyerp.com-20121205050513-c0y5rla3aqb320iv
2012-12-05 10:35:13 +05:30
Thibault Delavallée 83d1e7cdf2 [IMP] mail_message: notification_ids as _auto_join; mail_thread: mail_message as _auto_join. Updated search domain of function fields accordingly.
bzr revid: tde@openerp.com-20121204145645-vea4i1p93zmwztqx
2012-12-04 15:56:45 +01:00
Sanjay Gohel (Open ERP) c850d5eac4 [IMP]improve code remove convert for display method
bzr revid: sgo@tinyerp.com-20121204122930-oebqygeibqjw9rt6
2012-12-04 17:59:30 +05:30
Sanjay Gohel (Open ERP) c91da1fb35 [MERGE]merge with latest trunk
bzr revid: sgo@tinyerp.com-20121203132425-umzbdj5gm6m29b6c
2012-12-03 18:54:25 +05:30
Thibault Delavallée 9f84bbddfb [IMP] mail: message_unread searchable field now returns a domain. This domain is quite complex, because it bypasses limitations of the _auto_join feature used on message_ids. It should be: message_ids.read = False. However, it takes into account the one2many model, as well as to_read being a function field also searchable. Ths parsing is not capable to handle this kind of thing correctly now without using an ugly hack. Updated _search_to_read and _search_starred.
bzr revid: tde@openerp.com-20121129144253-i9e7m2kqjteq8ajr
2012-11-29 15:42:53 +01:00
Thibault Delavallée bb759994ac [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129113658-x23z7w5e54mr4j9v
2012-11-29 12:36:58 +01:00
Sanjay Gohel (Open ERP) 766cad2f02 [IMP]improve code for subtype implementation and if remove record then string shows as removed
bzr revid: sgo@tinyerp.com-20121128114823-whnokm2a1j9m3ddk
2012-11-28 17:18:23 +05:30
Thibault Delavallée e0fa7da24f [REM] mail_thread: removed field message_comment_ids, not really necessary. In message_summary, we display the true number of messages, not only comment number. This is more consistent with what you will see in Chatter, aka all messages.
bzr revid: tde@openerp.com-20121127143520-cv4os3dosrqo01wb
2012-11-27 15:35:20 +01:00
Thibault Delavallée 9dc08f3d70 [IMP] mail_thread: improved search function of message_unread, now directly implemented in SQL to speedup the result.
bzr revid: tde@openerp.com-20121127143222-nj9i2o5byor4m7oq
2012-11-27 15:32:22 +01:00
Sanjay Gohel (Open ERP) 9adb2e1eb1 [IMP]improve code
bzr revid: sgo@tinyerp.com-20121126125733-av712p9bixk20ew9
2012-11-26 18:27:33 +05:30
Sanjay Gohel (Open ERP) ccd78ad745 [IMP] remove message post for stage change and implement subtype on changed stage
bzr revid: sgo@tinyerp.com-20121126055541-nh8wjs35wviiybks
2012-11-26 11:25:41 +05:30
Sanjay Gohel (Open ERP) 6e1e4f084b [IMP]improve code for tracking field and add code for tracked it
bzr revid: sgo@tinyerp.com-20121122051759-lks3ykule5w5om6x
2012-11-22 10:47:59 +05:30
vta vta@openerp.com 946a5e700d [FIX] Remove remaining message_followers widget.
bzr revid: vta@openerp.com-20121121135721-rqjd3x4d2bdu4a7i
2012-11-21 14:57:21 +01:00
Christophe Simonis a4eb1112c2 [IMP] mail: models inherting from mail.thread can now flag their fields as 'tracked'. Changed tracked fields are logged automatically in the thread. (work in progess)
bzr revid: chs@openerp.com-20121121095831-uto0g3e6f2713828
2012-11-21 10:58:31 +01:00
vta vta@openerp.com 9a15327d52 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121121091133-svpmfiurclr7n69e
2012-11-21 10:11:33 +01:00
Thibault Delavallée b9c07b1019 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121120090512-82lyg9jotfvlim0n
2012-11-20 10:05:12 +01:00
Thibault Delavallée 3bc9d36b77 [FIX] message_route: when replying to a message, use its model and res_id, never lost.
bzr revid: tde@openerp.com-20121119141740-tjlp1uy4mq4lrg48
2012-11-19 15:17:40 +01:00
Thibault Delavallée 8007db3bc1 [FIX] mail_thread: when posting a messure using mail_thread as model (typically, a private message without model, res_id), do not try to set it on the attachments; this make the custom access rules check of ir.attachment crash.
bzr revid: tde@openerp.com-20121116112800-8ur8yr8alcrlgg1z
2012-11-16 12:28:00 +01:00
Thibault Delavallée f24d291e51 [FIX] mail_thread: fixed calculation of message_unread: read field may be False or NULL.
bzr revid: tde@openerp.com-20121116095003-8bbfyyvlhzqehf6h
2012-11-16 10:50:03 +01:00
vta vta@openerp.com e92a31e2bb [IMP] Now portal users can subscribe to public content.
bzr revid: vta@openerp.com-20121116075744-tclpsjxi1ut6wvh8
2012-11-16 08:57:44 +01:00
Thibault Delavallée 53e1a01ee1 [FIX] mail_thread: fixed function name from tools, text2html is plaintext2html.
bzr revid: tde@openerp.com-20121114163252-s0eqvjvdy953yyq2
2012-11-14 17:32:52 +01:00
Thibault Delavallée 026a042e7b [FIX] mail_thread: fixed message_subtype wrongly taken into account when posting through Chatter or fetchmail.
bzr revid: tde@openerp.com-20121114143506-qcmhrcngfxm4tbvu
2012-11-14 15:35:06 +01:00
Thibault Delavallée 17c2939ddc [IMP] mail_thread: message_process: plaintext incoming messages are preserved in pre tags.
bzr revid: tde@openerp.com-20121114111129-8nkneu1h6ij2lk99
2012-11-14 12:11:29 +01:00
Thibault Delavallée 48e3bdb332 [IMP] mail_thread: incoming messages without model that are reply to a private message shoudl not have any res_id. Assert it.
bzr revid: tde@openerp.com-20121114105323-5an5v6m7bdaaomy1
2012-11-14 11:53:23 +01:00
Thibault Delavallée fbccb823f8 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112161523-yfp1dczcnmi85t8e
bzr revid: tde@openerp.com-20121114083900-qw40e8ii1rfl7gt1
2012-11-14 09:39:00 +01:00
Thibault Delavallée 7b4f7d0d19 [FIX] [IMP] [OPTI] mail_thread: optimized _get_message_data to lessen the display time of heavy list views.
bzr revid: tde@openerp.com-20121112131051-seci8tw9156iyjxz
2012-11-12 14:10:51 +01:00
Thibault Delavallée b1a5db6a91 [FIX] message_process: fixed wrong domain for finding parent message based on in-reply-to.
bzr revid: tde@openerp.com-20121109100900-ri2126fe0ejb8c8w
2012-11-09 11:09:00 +01:00
Thibault Delavallée acb1156ee5 [FIX] mail: fixed bug adding signature of partners without users, therefore without signature field; fixed message_id of mail.message without model,res_id, that were not granted a message_id, therefore generated when sending a mail.mail, therefore breaking parent relationship based on message_id. Also fixed content_subtype of message coming from message_process.
bzr revid: tde@openerp.com-20121108164138-8jp2340t6s2sa9hd
2012-11-08 17:41:38 +01:00
Thibault Delavallée d5d7dced4d [FIX] mail: message_process now handles replies to messages without model, thread_id. Based on in-reply-to, it finds the parent message. mail_thread.message_post_user_api is called to create a new mail.message, bypassing message_new / message_update in this case. Some improvements added to partner_ids when using the chatter or message processing.
bzr revid: tde@openerp.com-20121108152502-aow7vhu4erx7fb9l
2012-11-08 16:25:02 +01:00
Thibault Delavallée 389b502b63 [FIX] mail: posting from mailboxes now correctly handles recipients of replies message. Body is now converted into html.
bzr revid: tde@openerp.com-20121107171521-whwcjefpjvt91ye6
2012-11-07 18:15:21 +01:00
Thibault Delavallée da6ee587e3 [CLEAN] Misc cleaning in comments and domain for mailboxes.
bzr revid: tde@openerp.com-20121107153910-uo22t1ahd9qoo1ub
2012-11-07 16:39:10 +01:00
Thibault Delavallée f9829bbb93 [FIX] mail_thread: in message_parse, correctly set partner_ids of the message dict. By the way small things in amil module.
bzr revid: tde@openerp.com-20121107105148-6o1dvu7f4ms24rbx
2012-11-07 11:51:48 +01:00
Thibault Delavallée ffc23f22f0 [CLEAN] Removed unused variables.
bzr revid: tde@openerp.com-20121106121949-2u577j7f1guq4tyu
2012-11-06 13:19:49 +01:00
Fabien Pinckaers 376cfc937a [MERGE] addosn 17
bzr revid: fp@tinyerp.com-20121102082707-wpv96avu8l5incs8
2012-11-02 09:27:07 +01:00
Amit Patel 05f23f6204 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121030045813-d32rqt3fkfighp6e
2012-10-30 10:28:13 +05:30
Amit Patel 6696825b5e [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121017070937-52t28h5twjkj5rlr
bzr revid: apa@tinyerp.com-20121019062157-qxy9gw1b5d9siipp
bzr revid: apa@tinyerp.com-20121022051523-v89anrokk46jxmqb
2012-10-22 10:45:23 +05:30
Thibault Delavallée fbb80f4ba6 [REVIEW] mail: some code cleanup before merging.
mail.message: fixed to_read condition
mail.message: cleaned message_read code
mail.thread: fixed mega security hole, giving superuser rights when creating objects in mail.thread

bzr revid: tde@openerp.com-20121019095919-xa95j10f22va6djm
2012-10-19 11:59:19 +02:00
Christophe Matthieu df2d88a5ab [FIX] mail: message_post_api call and new_message_id value
bzr revid: chm@openerp.com-20121019073338-brb0g1qivvs9pyry
2012-10-19 09:33:38 +02:00
Thibault Delavallée 7c142d5a5c [MERGE] Merged with addons/trunk, re-done to get last fixes from trunk.
bzr revid: tde@openerp.com-20121018130049-d2cisvw7g503chvs
bzr revid: tde@openerp.com-20121018130601-nj99fd1a5ok7r952
2012-10-18 15:06:01 +02:00
Thibault Delavallée 1737a3161b [REVIEW] Cleaning before merging.
bzr revid: tde@openerp.com-20121018093453-trijh79z0j7oha6f
2012-10-18 11:34:53 +02:00
Thibault Delavallée d24c21222e [REM] mail: removed is_private on mail.message model. Updated models and widgets accordingly.
bzr revid: tde@openerp.com-20121017141933-uwbgqn041mvdtp7p
2012-10-17 16:19:33 +02:00
Christophe Matthieu ec88647be0 [IMP] mail: attachment res_model, read => to_read
bzr revid: chm@openerp.com-20121017093559-fndir3gssokoda7v
2012-10-17 11:35:59 +02:00
Thibault Delavallée e915bd83cb [IMP] mail_thread: remove message_subtype_data field, not used anymore; message_is_follower is not computed with message_follower_ids. Updated mail_followers widget, as message_is_follower is barely never used in views. Updated tests.
bzr revid: tde@openerp.com-20121016111753-shhyhred0m210o1z
2012-10-16 13:17:53 +02:00
Christophe Matthieu 7084273c5c [IMP]mail, openchatter: read/unread
bzr revid: chm@openerp.com-20121016082718-j0vlptofi2w0hikw
2012-10-16 10:27:18 +02:00
Christophe Matthieu f71d09a7db [IMP]mail: js dataset, context
bzr revid: chm@openerp.com-20121015160324-tspchfwxg3v8nt2o
2012-10-15 18:03:24 +02:00
Thibault Delavallée 55700ac661 [CLEAN] get_message_subtypes -> message_get_subscription_data
bzr revid: tde@openerp.com-20121015133438-oqbe24v80y0ayimn
2012-10-15 15:34:38 +02:00
Thibault Delavallée ad54dfbbf6 [FIX] [CLEAN] mail_thrad: fixed subtypes (not comment by default, but Chatter explicitely set the new message as a comment); some code cleaning.
bzr revid: tde@openerp.com-20121015132313-zmip3v7sv4y90lzr
2012-10-15 15:23:13 +02:00
Christophe Matthieu 407a7eca27 [IMP]mail: reply to parent : author and partners
bzr revid: chm@openerp.com-20121012130232-5enz0p8vd0ta85o3
2012-10-12 15:02:32 +02:00
Christophe Matthieu adc318837a [IMP]mail: secu
bzr revid: chm@openerp.com-20121012124003-zs8uj68gr1upgc57
2012-10-12 14:40:03 +02:00
Amit Patel 2762e94eb3 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121011052218-dx74aeg04h6azdmz
bzr revid: apa@tinyerp.com-20121012050113-w3b9fijrbxfyndxj
2012-10-12 10:31:13 +05:30
Christophe Matthieu 4a77345f63 [IMP] mail, following: access
bzr revid: chm@openerp.com-20121011161614-k72bm2f6gw451u5g
2012-10-11 18:16:14 +02:00
Christophe Matthieu 540248ed9e [IMP] mail: cleaner code
bzr revid: chm@openerp.com-20121011104048-4vy0k8pp1rrjug1k
2012-10-11 12:40:48 +02:00
Christophe Matthieu 20d8b0fc76 [MERGE] from trunk
bzr revid: chm@openerp.com-20121010112018-oswe04e2j0o95dry
2012-10-10 13:20:18 +02:00
Christophe Matthieu 09ab4151a2 [MERGE] from trunk, rev 7715 undo revert
bzr revid: chm@openerp.com-20121010111615-s2owlcrawkztdqeb
bzr revid: chm@openerp.com-20121010111751-duikn1etnsadp550
2012-10-10 13:17:51 +02:00
Khushboo Bhatt (Open ERP) 0e00c44a6c [FIX]mail:the issue of createing new record
bzr revid: kbh@tinyerp.com-20121010092112-944vjsuphod8kv8n
2012-10-10 14:51:12 +05:30
Raphael Collet f7d5b5ff0a [FIX] mail: in function field mail_follower_ids, support value False in setter
bzr revid: rco@openerp.com-20121010072510-aacyyj3csj720z8l
2012-10-10 09:25:10 +02:00
Olivier Dony af24485be3 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121009155456-03uqk5jwd9qayuj4
2012-10-09 17:54:56 +02:00
Christophe Matthieu 7df8ef5d37 [IMP] mail: sort messages
bzr revid: chm@openerp.com-20121009140354-3ozec5q42ckcg16w
2012-10-09 16:03:54 +02:00
Olivier Dony 0ce1ef32a8 [FIX] mail: typos -> message-id header is mapped to message_id column
bzr revid: odo@openerp.com-20121009134020-9wf96yszv8qcmbm1
2012-10-09 15:40:20 +02:00
Olivier Dony fac6e9246b [FIX] mail: allow overriding message_post in threads + fix res.users' delegation to res.partner
bzr revid: odo@openerp.com-20121009133132-at5j8pm8engxqi10
2012-10-09 15:31:32 +02:00
Christophe Matthieu 52f8ea85c8 [IMP] mail: get free user attachment
bzr revid: chm@openerp.com-20121009084436-13r1hz3movoupvmh
2012-10-09 10:44:36 +02:00
Christophe Matthieu 7a41798d70 [IMP] mail, document: don't check duplication of file for attachment mail
bzr revid: chm@openerp.com-20121009080858-gnpf1893m12jd3mp
2012-10-09 10:08:58 +02:00
Christophe Matthieu aff7e6d161 [IMP] mail chatter: upload OK
bzr revid: chm@openerp.com-20121008152045-old4i0hjb5apmf0p
2012-10-08 17:20:45 +02:00
Raphael Collet f26a1cd5fd [FIX] mail: replace buggy many2many_reference field by function field; this fixes the search on field mail_follower_ids
bzr revid: rco@openerp.com-20121008151234-9oovjatffaw48k1d
2012-10-08 17:12:34 +02:00
Christophe Matthieu 4557bf1d50 [IMP]mail chatter: uploader
bzr revid: chm@openerp.com-20121008142654-pll3vfvjufo1gsr9
2012-10-08 16:26:54 +02:00
Christophe Matthieu df5071c896 [IMP] mail chatter: compose mail in js, less request
bzr revid: chm@openerp.com-20121005104654-t5lholex2gh11y15
2012-10-05 12:46:54 +02:00
Olivier Dony 3744f5c402 [REV] Revert last commit, breaks tests
bzr revid: odo@openerp.com-20121003153306-e2ugphdyijvq8x6l
2012-10-03 17:33:06 +02:00