Commit Graph

333 Commits

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