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
Fabien Pinckaers
75c52c520c
[FIX] open chatter
...
bzr revid: fp@tinyerp.com-20121003143019-ua3128jpufzcie5k
2012-10-03 16:30:19 +02:00
Christophe Matthieu
27d3070220
[IMP] mail: private message
...
bzr revid: chm@openerp.com-20121003142712-rkadw5oii3tt5o1u
2012-10-03 16:27:12 +02:00
Fabien Pinckaers
21fb8c4370
[FIX] access rights
...
bzr revid: fp@openerp.com-20121002221804-2mdhpkmyno2nfgvr
2012-10-03 00:18:04 +02:00
Fabien Pinckaers
4dba044109
[FIX] access rights
...
bzr revid: fp@openerp.com-20121002221231-vtqfgu536tgs00n4
2012-10-03 00:12:31 +02:00
Fabien Pinckaers
e275f37d16
[FIX] access rights
...
bzr revid: fp@openerp.com-20121002214302-kk4ewbwadsme084w
2012-10-02 23:43:02 +02:00
Fabien Pinckaers
c93d70e919
[MERGE] chm - improved subtype - fixes
...
bzr revid: fp@openerp.com-20121002204023-8v3jf2n84xe2jol9
2012-10-02 22:40:23 +02:00
Antonin Bourguignon
1653332080
[MERGE] trunk
...
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Fabien Pinckaers
486055417d
[FIX] tests fixes + compose + no parent_id on groups and partners
...
bzr revid: fp@tinyerp.com-20121001182722-0971qc2ccp3noe2c
2012-10-01 20:27:22 +02:00
Christophe Matthieu
b3d8e1f7fc
[IMP] mail: test
...
bzr revid: chm@openerp.com-20121001130530-w1k2b4vzst44jwa3
2012-10-01 15:05:30 +02:00
Christophe Matthieu
20f6a39089
[IMP]mail thread: load only not loaded message
...
bzr revid: chm@openerp.com-20120928132723-xg2y8j3ebu9a9huv
2012-09-28 15:27:23 +02:00
Christophe Matthieu
523d10017e
[IMP] mail/chatter: in progress
...
bzr revid: chm@openerp.com-20120927134823-tkwllczna72hb1th
2012-09-27 15:48:23 +02:00
Christophe Matthieu
4ddb50dbf9
[IMP] mail: subtype adapted for css onhover box
...
bzr revid: chm@openerp.com-20120926071709-v51ra4mzn2hp121j
2012-09-26 09:17:09 +02:00
Christophe Matthieu
4525190e72
[IMP] mail: auto display subtypes on subscription (web)
...
bzr revid: chm@openerp.com-20120925085809-u8f7tvtbdxnftbu4
2012-09-25 10:58:09 +02:00
Christophe Matthieu
f47111449c
[IMP] mail_follower: unique field widget, sub-types on click
...
bzr revid: chm@openerp.com-20120924095616-keuji387bvy6pmcs
2012-09-24 11:56:16 +02:00
Christophe Matthieu
fa63653de9
[MERGE] from trunk-mail-mail-rules-tde
...
bzr revid: chm@openerp.com-20120921095037-czl4s3v0do11yhkq
2012-09-21 11:50:37 +02:00
Thibault Delavallée
1206b8f7a0
[IMP] Addons: added message_is_follower and message_subtype_data invisible fields to all views using Chatter and Followers widgets.
...
bzr revid: tde@openerp.com-20120920115900-vvpfhjvw135vhf91
2012-09-20 13:59:00 +02:00
Thibault Delavallée
b1d05506eb
[FIX] mail_thread: fixed message_subscribe, not recognizing void list compared to none; misc fixes of subtype.
...
bzr revid: tde@openerp.com-20120920114947-64643cmduzww5i5c
2012-09-20 13:49:47 +02:00
Thibault Delavallée
ed3518d858
[CLEAN] Cleaned subtype model, implementation and tests. Added a message_subtype_data field, holding data about subtypes. This will allow to avoid doing too much calls from the front-end.
...
bzr revid: tde@openerp.com-20120920101704-cri6zq7sqi7y660b
2012-09-20 12:17:04 +02:00
Thibault Delavallée
4312649fb5
[FIX] mail_thread: moved get_object_reference into if exist.
...
bzr revid: tde@openerp.com-20120919123318-k2wax6npnm1tw1mm
2012-09-19 14:33:18 +02:00
Thibault Delavallée
64672b1764
[CLEAN] mail: comment xml_id is now mt_comment. Propagated change. Slighty cleaned code in base_status.
...
bzr revid: tde@openerp.com-20120919114353-8s9lo6tp78tnwj56
2012-09-19 13:43:53 +02:00
Thibault Delavallée
33f60023e8
[FIX] mail: replaced a superuser_id by a classic read with uid on partner in mail_group and mail_thread; fixed access rigths definition in portal that are not necessary.
...
bzr revid: tde@openerp.com-20120918101423-pizn2tyrwta5o93n
2012-09-18 12:14:23 +02:00
Thibault Delavallée
346e548775
[FIX] message_subscriber_users now user a read on res.users instead of a browse, to avoid access rights issues for people that can read their own user, but no partners, and trying to (un)subscribe themselves from a document.
...
bzr revid: tde@openerp.com-20120918091150-xhdmrmhdq5zyrtcm
2012-09-18 11:11:50 +02:00
Thibault Delavallée
7f309d2df0
[FIX] Mail: fixed mail_followers widget, now taking into account crash when reading message_follower_ids, to disply only the number of followers, when the user does not have read access on the partners (ex: portal members).
...
bzr revid: tde@openerp.com-20120917150129-7ahagbvopo2iqoe5
2012-09-17 17:01:29 +02:00
Thibault Delavallée
4f32b5f99c
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120917075721-br5b5qqxeviqus9r
2012-09-17 09:57:21 +02:00
Sanjay Gohel (Open ERP)
e6cdcb6b51
[MERGE]merge with trunk addons
...
bzr revid: sgo@tinyerp.com-20120917065740-w9a3xhe632368t2n
2012-09-17 12:27:40 +05:30
Fabien Pinckaers
46d31f4a0c
[IMP] thunderbird plugin
...
bzr revid: fp@openerp.com-20120916151038-oqh8f9kak8eap8t9
2012-09-16 17:10:38 +02:00
Thibault Delavallée
994441ae4a
[FIX] mail_thread: copy do not copy messages and followers.
...
bzr revid: tde@openerp.com-20120914135245-roldmjl5x8tqlood
2012-09-14 15:52:45 +02:00
Thibault Delavallée
2c60cc4d4c
[FIX] mail: in message_get_data, notification search for unread messages is done as SUPERUSER, because we need this info but do not want to give access to notications.
...
bzr revid: tde@openerp.com-20120914115853-xsquf25kz4hhzlyf
2012-09-14 13:58:53 +02:00
Harry (OpenERP)
af2cacb42f
[MERGE]
...
bzr revid: hmo@tinyerp.com-20120914084405-0ho0ian16bp2zgqh
2012-09-14 14:14:05 +05:30
Thibault Delavallée
a2d3d1df80
[CLEAN] message_post_api: removed unnecessary type arg (posting is a comment).
...
bzr revid: tde@openerp.com-20121029101230-x39pep9p5edd54ml
2012-10-29 11:12:30 +01:00
Christophe Matthieu
4c969ed551
[FIX] mail: attachments when the user write on the wall
...
bzr revid: chm@openerp.com-20121029100001-ztsaakw1jt0flqmy
2012-10-29 11:00:01 +01:00
Christophe Matthieu
46a60cdac7
[MERGE] from trunk-mail-concreting-tde, TODO fix bug
...
bzr revid: chm@openerp.com-20121029090847-27h3tmyvsv9c8vej
2012-10-29 10:08:47 +01:00
Thibault Delavallée
9014be7ca4
[CLEAN] mail: cleaned code before merging, removed debug and print statements.
...
bzr revid: tde@openerp.com-20121026123604-l4j4e1ta26hw6fur
2012-10-26 14:36:04 +02:00
Christophe Matthieu
0975d105e2
[IMP] mail: one template for compose_message: compact & expend + replace by message
...
bzr revid: chm@openerp.com-20121026105835-i3gca74hku1z6y2x
2012-10-26 12:58:35 +02:00
Thibault Delavallée
3e36e6c88f
[FIX] mail: fixed ancestor search in message_post.
...
bzr revid: tde@openerp.com-20121025154215-ue4tpe3cua7491no
2012-10-25 17:42:15 +02:00
Thibault Delavallée
95ce9afb67
[IMP] mail: mail_message.record_name is now store=True, removing a lot of access right checks and document reads. Also forced the parent_id to be the first ancestor of a thread.
...
bzr revid: tde@openerp.com-20121025151123-s3qiodtf8xm7huvq
2012-10-25 17:11:23 +02:00
Thibault Delavallée
82398c12c8
[FIX] mail: mail_message from field renamed to email_from, because of reserved word. Various fixes.
...
bzr revid: tde@openerp.com-20121025135020-83h1cybp6um53uq5
2012-10-25 15:50:20 +02:00
Christophe Matthieu
2a50ee0fde
[IMP] mail: Re reply
...
bzr revid: chm@openerp.com-20121025134819-3iwgsqziivkz8d0z
2012-10-25 15:48:19 +02:00
Thibault Delavallée
6966509c6e
[IMP] mail_message: partner_ids now holds only specific destination partners. Partners + followers is now stored into notified_partner_ids. Added a from field on mail_message, holding the email address of the sender, in case of an incoming email message that cannot be linked to a partner.
...
bzr revid: tde@openerp.com-20121025113048-5f1ob8ligqzb52gu
2012-10-25 13:30:48 +02:00
Christophe Matthieu
31965cf97a
[IMP] mail: insert message post, and no quote for reply
...
bzr revid: chm@openerp.com-20121025095923-7urqi5he10q3z1i6
2012-10-25 11:59:23 +02:00
Christophe Matthieu
a10c6c4dfd
[IMP] mail: change message_post_api (method py return id); class indented in DOM for expandable & compose
...
bzr revid: chm@openerp.com-20121025083631-ze0x0rmnj7catsmu
2012-10-25 10:36:31 +02:00
Thibault Delavallée
f503b4d5ff
[IMP] mail_thread: message_post_api now returns the new message_id, not the result of a message_read.
...
bzr revid: tde@openerp.com-20121025082001-4izbu2hg9rwc7jzb
2012-10-25 10:20:01 +02:00
Thibault Delavallée
d462635253
[FIX] mail_thread: removed hack 'posting on res.partner without thread_id is posting on its own partner -> please avoid having hacks without an explanation about why it is here. We will see if this changes something. Also fixed parent_id given to the message_read that follows the message_post.
...
bzr revid: tde@openerp.com-20121025075036-tsqen9c10ft1er0l
2012-10-25 09:50:36 +02:00
Christophe Matthieu
875b2ede23
[IMP] mail: use widget one2many_binary and value fix
...
bzr revid: chm@openerp.com-20121024122803-ihr421qcvnsd3cjz
2012-10-24 14:28:03 +02:00
Sanjay Gohel (Open ERP)
90532e858e
[MERGE]merge
...
bzr revid: sgo@tinyerp.com-20120914060845-d6xt33tvqtzfn11k
2012-09-14 11:38:45 +05:30
Sanjay Gohel (Open ERP)
a11e752ea2
[IMP]improve code
...
bzr revid: sgo@tinyerp.com-20120914060546-e0uj8dru6c9pym9y
2012-09-14 11:35:46 +05:30
Sanjay Gohel (Open ERP)
8821601a87
[IMP]minor changes
...
bzr revid: sgo@tinyerp.com-20120914055730-c0x2tshrr8j6aa5v
2012-09-14 11:27:30 +05:30
Sanjay Gohel (Open ERP)
2abba24ef3
[MERGE]merge with parent branch
...
bzr revid: sgo@tinyerp.com-20120914053347-u28fihi7mcetup4j
2012-09-14 11:03:47 +05:30
Sanjay Gohel (Open ERP)
a807b57f4e
[MERGE]merge with trunk addons
...
bzr revid: apa@tinyerp.com-20120911054811-24s3e1perqf7x1wo
bzr revid: apa@tinyerp.com-20120911084547-trlru6t8r1dv1yhd
bzr revid: apa@tinyerp.com-20120912050215-glxhb94pu2aed5fz
bzr revid: apa@tinyerp.com-20120913050959-re58fqvnaqrhgzg0
bzr revid: sgo@tinyerp.com-20120914053201-khnzm9ei7rpjcp7u
2012-09-14 11:02:01 +05:30
Harry (OpenERP)
989ce9204b
[FIX] plugin: should call message_process instead of message_new for new message
...
bzr revid: hmo@tinyerp.com-20120913071724-re6w0fy6jspldsjh
2012-09-13 12:47:24 +05:30
Thibault Delavallée
7392ef4283
[CLEAN] mail_thread: no need th have its hack about returning the new value after subscribing or unsubscribing.
...
bzr revid: tde@openerp.com-20120912133711-tlt4pqm1cejjq9pv
2012-09-12 15:37:11 +02:00
Sanjay Gohel (Open ERP)
ce39ffe927
[IMP]changed as per new spec update and make it work for crm changes done in crm
...
bzr revid: sgo@tinyerp.com-20120912112245-3cp03024fiqb47qs
2012-09-12 16:52:45 +05:30
Amit Patel (OpenERP)
f36dd4c891
[IMP]:improved test case
...
bzr revid: apa@tinyerp.com-20120906105914-iwoi15ghgtibt2lr
2012-09-06 16:29:14 +05:30
Sanjay Gohel (Open ERP)
4707ee56a9
[IMP]add context to the method
...
bzr revid: sgo@tinyerp.com-20120906094123-ua4zxhot0z3wgd7g
2012-09-06 15:11:23 +05:30
Amit Patel (OpenERP)
1334eb7a0d
[MERGE]:trunk-mail-cleaning-fp
...
bzr revid: apa@tinyerp.com-20120906061835-gb317yvqnd5vaiei
2012-09-06 11:48:35 +05:30
Olivier Dony
1275d524f2
[IMP] mail: fix and test parsing of plaintext messages
...
bzr revid: odo@openerp.com-20120905160145-2e11txqm5jffij6v
2012-09-05 18:01:45 +02:00
Thibault Delavallée
b5b813162d
[CLEAN] mail: cleaned mail_thread.py.
...
bzr revid: tde@openerp.com-20120905155121-1w3h43t10qsigusn
2012-09-05 17:51:21 +02:00
Sanjay Gohel (Open ERP)
43c71f585e
[MERGE]merge with mail-cleaning-fp
...
bzr revid: sgo@tinyerp.com-20120905050803-qwrknvluqtkpwx6g
2012-09-05 10:38:03 +05:30
Olivier Dony
c0ac0611d1
[IMP] misc bits - lint
...
bzr revid: odo@openerp.com-20120904155023-hchxi9jqemvqulpy
2012-09-04 17:50:23 +02:00
Thibault Delavallée
bacbb8e2f4
[REVIEW] base_stage: removed now dead message_thread_followers method. mail_thread: set message_capable_models back, because it is used in the plugin addon, adn therefore in various plugin_XXX addons. Maybe a refactoring of those plugins could be done, but it is beyond the scope of this refactoring.
...
bzr revid: tde@openerp.com-20120904145011-tlwgcu32uv8cwe6g
2012-09-04 16:50:11 +02:00
Thibault Delavallée
fd2a413969
[FIX] [CLEAN] mail_thread: misc cleanup (comments, vars, typo). Fixed subscriber API. It now handles a read_back key in context to return the new value of the field. The purpose is to use it in mail_followers widget, that behaves asynchronously compared to the form_view, and that need updated values after subscribing a user. Updated mail_followers widget, cleaned its code. Updated mail_group with wrappers on message_subscriber_users, because it was setting user_ids as context.
...
bzr revid: tde@openerp.com-20120904133648-plsziijac64lw4de
2012-09-04 15:36:48 +02:00
Thibault Delavallée
674ea05830
[IMP] mail_thread: cleaned comments and some var name in the modified many2many field. Also made mail_thread an AbstractModel.
...
bzr revid: tde@openerp.com-20120904121838-rpaesid3stxm8gus
2012-09-04 14:18:38 +02:00
Sanjay Gohel (Open ERP)
92b707c116
[MERGE]merge with parent branch
...
bzr revid: sgo@tinyerp.com-20120904093250-fwawd23g26064wnl
2012-09-04 15:02:50 +05:30
Sanjay Gohel (Open ERP)
93f5c6b6a9
[IMP]add unit test for message subtype
...
bzr revid: sgo@tinyerp.com-20120904093111-hj291blbbkg39cey
2012-09-04 15:01:11 +05:30
Amit Patel (OpenERP)
7e4225b3af
[MERGE]:lp:~openerp-dev/openobject-addons/trunk-mail-cleaning-fp
...
bzr revid: apa@tinyerp.com-20120831132232-kpwdzwu8yl1ye917
bzr revid: apa@tinyerp.com-20120903045932-u03grkwnd3ywcogv
2012-09-03 10:29:32 +05:30
Thibault Delavallée
0f3101cec5
[FIX] mail.compose.message: fixed send_mail about getting mass_mail values from template; fixed generated body that was adding a signature in reply mode; added the test that trigerred that bug.
...
bzr revid: tde@openerp.com-20120831171507-1prt4h46zsj77m23
2012-08-31 19:15:07 +02:00
Olivier Dony
24fab3ca7d
[IMP] mail: refactor various places where we append content to HTML
...
bzr revid: odo@openerp.com-20120831155103-t13p33p7232g0128
2012-08-31 17:51:03 +02:00
Sanjay Gohel (Open ERP)
90e55a5337
[IMP]remove unused method and improve code
...
bzr revid: sgo@tinyerp.com-20120831100318-t2e2wv81trwfpc7u
2012-08-31 15:33:18 +05:30
Sanjay Gohel (Open ERP)
5eed2be266
[IMP]minor changes
...
bzr revid: sgo@tinyerp.com-20120831091043-4rix3ozakssbxrgn
2012-08-31 14:40:43 +05:30
Sanjay Gohel (Open ERP)
f99095ecd0
[MERGE]merge with mail-cleaning-fp n resolve conflicts
...
bzr revid: sgo@tinyerp.com-20120831090308-2k6uj5iy3tds1wm5
2012-08-31 14:33:08 +05:30
Thibault Delavallée
660553d404
[CLEAN] mail_thread: misc cleanup (comments, some var names).
...
bzr revid: tde@openerp.com-20120831080103-gdtitgzxfpddyws3
2012-08-31 10:01:03 +02:00
Sanjay Gohel (Open ERP)
18d606a794
[MERGE]merge mail-cleaning-fp and change in mail message
...
bzr revid: sgo@tinyerp.com-20120831050230-opnug0owd3o1ucaf
2012-08-31 10:32:30 +05:30
Sanjay Gohel (Open ERP)
88adf5a68e
[IMP]improve code as per changes in mail message
...
bzr revid: sgo@tinyerp.com-20120831045636-5p1oa9lkhglyd6on
2012-08-31 10:26:36 +05:30
Olivier Dony
06e13555d5
[FIX] mail: simplify test and cleanup some code + fix plaintext signature append
...
bzr revid: odo@openerp.com-20120830122112-y2lbgcazy0opvbs8
2012-08-30 14:21:12 +02:00
Sanjay Gohel (Open ERP)
91c022497b
[MERGE]merge with lp:~openerp-dev/openobject-addons/trunk-mail-cleaning-fp and done changes as needed
...
bzr revid: sgo@tinyerp.com-20120830112426-15b9jere67yyoa3q
2012-08-30 16:54:26 +05:30
Amit Patel (OpenERP)
8a84afef99
[IMP]:removed print and pass uid
...
bzr revid: apa@tinyerp.com-20120829072633-c13fg277j6be8182
2012-08-29 12:56:33 +05:30
Amit Patel (OpenERP)
1325a350d5
[IMP]:improved code to display subtype while create new lead
...
bzr revid: apa@tinyerp.com-20120829071657-rb5kmx9kdbgiyydj
2012-08-29 12:46:57 +05:30
Amit Patel (OpenERP)
8e0151002a
[IMP]:improved code
...
bzr revid: apa@tinyerp.com-20120829065514-mzr02sccg2fhrfog
2012-08-29 12:25:14 +05:30
Amit Patel (OpenERP)
7c3569385f
[IMP]:default work with demo data and remove readonly from subtype
...
bzr revid: apa@tinyerp.com-20120829064243-w0y3k6c3uxcqruzm
2012-08-29 12:12:43 +05:30
Olivier Dony
b19d73525d
[IMP] mail: implement parent message resolution when parsing incoming message + cleanup lint
...
bzr revid: odo@openerp.com-20120828173901-8y9y16crvii8d2qg
2012-08-28 19:39:01 +02:00
Thibault Delavallée
d7a6f580d8
[CLEAN] mail_thread: removed an unused method; misc clean.
...
bzr revid: tde@openerp.com-20120828125522-4pt7j97qfuj8c0bw
2012-08-28 14:55:22 +02:00
Thibault Delavallée
481bdd269f
[IMP] mail.message: added an 'unread' functional searchable field. This field is used to replace the buggy needaction_domain_get on mail.message (having 2 notifications with 1/ correct partner 2/ unread could lead to false needaction, because of verified domain. The domain is now based on the unread field, that computes unread messages for the user. To avoid having too much overhead, it has been implemented directly in sql.
...
bzr revid: tde@openerp.com-20120828095323-3tb01d7vaoa0m9rb
2012-08-28 11:53:23 +02:00
Sanjay Gohel (Open ERP)
cc56b498a1
[IMP]if record is unread it also show only those record which checked in subtype
...
bzr revid: sgo@tinyerp.com-20120824084628-r9bvejcya6mt6l33
2012-08-24 14:16:28 +05:30
Amit Patel (OpenERP)
bd10c0ae19
[MERGE]
...
bzr revid: apa@tinyerp.com-20120824050332-lf9p5bmov0e2wy3o
2012-08-24 10:33:32 +05:30
Olivier Dony
2c4ed841b9
[FIX] mail: make message_process/parse work, restore attachment_ids m2m on mail.message, various lint cleanup
...
bzr revid: odo@openerp.com-20120823185443-zsnm6g14r6e42y3i
2012-08-23 20:54:43 +02:00
Fabien Pinckaers
2c29bd58f0
[IMP] blue color on unread messages
...
bzr revid: fp@tinyerp.com-20120823160416-23a11k1ivu2md34v
2012-08-23 18:04:16 +02:00
Fabien Pinckaers
462fc03987
fix
...
bzr revid: fp@tinyerp.com-20120823155747-0ysezcil7hcy1sv0
2012-08-23 17:57:47 +02:00
Thibault Delavallée
61a45e9268
[IMP] mail_thread: message_follower_ids: simplified message_subscribe code, now that we use the many2many modified field. Subscrubing is now a simple write on the field.
...
bzr revid: tde@openerp.com-20120823122426-o08nh8gxx93kizjl
2012-08-23 14:24:26 +02:00
Thibault Delavallée
ef860e197e
[REV] mail_thread: many2many_reference is back for message_follower_ids. Tests will come to test this field effectively works as required.
...
bzr revid: tde@openerp.com-20120823095920-n7k7aarl14fvw1j9
2012-08-23 11:59:20 +02:00
Olivier Dony
7dd0bfa766
[FIX] mail.thread make body an optional keywarg, so it can be passed via **args - should always be explicitly specified
...
bzr revid: odo@openerp.com-20120822191630-55anhcuu0l1j0ioq
2012-08-22 21:16:30 +02:00
Fabien Pinckaers
9c3e455799
[FIX]
...
bzr revid: fp@tinyerp.com-20120822161315-n1uwcxevdo18elkb
2012-08-22 18:13:15 +02:00
Fabien Pinckaers
f6b6fb4deb
[FIX] needaction ok for crm
...
bzr revid: fp@tinyerp.com-20120822155954-8ix4op6hj5e5hzi5
2012-08-22 17:59:54 +02:00
Olivier Dony
786419565a
[FIX] mail: make basic mail tests pass again, remove useless/dead test code
...
bzr revid: odo@openerp.com-20120822133028-hms3xfhibhn1j38l
2012-08-22 15:30:28 +02:00
Jigar Amin - OpenERP
ef1864ec10
merge lp:openobject-addons
...
bzr revid: jam@tinyerp.com-20120822125826-fb2m9wqmbctfn4ow
2012-08-22 18:28:26 +05:30
Olivier Dony
a001d89243
[FIX] mail: more typos
...
bzr revid: odo@openerp.com-20120822124943-2ixd2vbbug38tfb2
2012-08-22 14:49:43 +02:00
Olivier Dony
8b78127210
[FIX] mail: typo
...
bzr revid: odo@openerp.com-20120822123858-e3alagahniwbdpgz
2012-08-22 14:38:58 +02:00
Olivier Dony
406e58399f
[FIX] mail: unify message_post calls, fix typos, various lint cleanup
...
bzr revid: odo@openerp.com-20120822113439-aoy7v4njs6o34tu5
2012-08-22 13:34:39 +02:00
Thibault Delavallée
49596ebe91
[IMP] mail_thread: message_is_follower field is now calculated with other functional fields (message_summary and message_read). Cleaned message_subscribe and message_unsubscribe. Added deletion of followers when unlinking a record. Propagated change in mail_group view.
...
bzr revid: tde@openerp.com-20120822110313-is3p1h4s2e8c4hbm
2012-08-22 13:03:13 +02:00
Thibault Delavallée
26cb676602
[FIX] mail_thread: find_partners: fixed message_find_partners, message_txt did not always have all headers filled; removed some commented code that can be deleted; re-added computation of email date; added missing imports.
...
bzr revid: tde@openerp.com-20120822083813-tt2sjx54iu6sbskt
2012-08-22 10:38:13 +02:00
Fabien Pinckaers
2f9f57cc46
[IMP] removing some FP Note
...
bzr revid: fp@tinyerp.com-20120822083608-2q98p1758erm8f7t
2012-08-22 10:36:08 +02:00