Commit Graph

343 Commits

Author SHA1 Message Date
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
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