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