Commit Graph

344 Commits

Author SHA1 Message Date
Thibault Delavallée b1b3ed971a [REM] Removed attachment removal because garbage collecting will do it.
bzr revid: tde@openerp.com-20130306160517-b0rdbait2h6c9c77
2013-03-06 17:05:17 +01:00
Thibault Delavallée aa054ebb74 [REV] mail: reverted commit 8802. Reason: opt-out will be used only for marketing campaigns; notification_email_send for emails.
bzr revid: tde@openerp.com-20130306142741-ghazensh58xw3rvu
2013-03-06 15:27:41 +01:00
Thibault Delavallée d794920d43 [IMP] mail.compose.message: remove attachment_ids from render_message as it should not be there; assume wizard.attachment_ids is always correct.
bzr revid: tde@openerp.com-20130306134437-ywoi1p1nr2e1no97
2013-03-06 14:44:37 +01:00
Thibault Delavallée 7999477d63 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130304092317-if7mytrydtktosif
bzr revid: tde@openerp.com-20130305080230-r5zreeqwr6sznxt4
bzr revid: tde@openerp.com-20130306112600-57feml4i8f5snad2
2013-03-06 12:26:00 +01:00
Thibault Delavallée 916bde1c3a [IMP] invite: only opt_out is taken into account when sending invite emails; added some comments to clean the code in 8.0
bzr revid: tde@openerp.com-20130306082445-hg2flvidtgso30dq
2013-03-06 09:24:45 +01:00
Thibault Delavallée ade7c33f18 [FIX] invite: do not send invite notification emails to partners having 'none' or opt_out.
bzr revid: tde@openerp.com-20130306080306-86k0pmzqiqilknzw
2013-03-06 09:03:06 +01:00
Thibault Delavallée 8b105c3e56 [FIX] mail.compose.message: fixed notify field, not showing when it should.
bzr revid: tde@openerp.com-20130305151408-h6800swy10xnu634
2013-03-05 16:14:08 +01:00
Thibault Delavallée f7484297d9 [CLEAN] mail.compose.message: some cleaning in new fields strings, and in form vivew.
bzr revid: tde@openerp.com-20130305124259-x3vb5ds2xi9v389d
2013-03-05 13:42:59 +01:00
Christophe Matthieu a6f2191dc6 [FIX] mail_followers: invite tests
bzr revid: chm@openerp.com-20130305102644-3goqo24diirjoq0z
2013-03-05 11:26:44 +01:00
Christophe Matthieu a57c079700 [IMP] mail_followers: invite tests
bzr revid: chm@openerp.com-20130305101143-6mcydxw60y18kw20
2013-03-05 11:11:43 +01:00
Christophe Matthieu 2c73e51a54 [IMP] mail_followers: invite message '<user_name> invited you to follow <model_name> document: <document_name>'
bzr revid: chm@openerp.com-20130305094956-93lf0ttjw02a9omb
2013-03-05 10:49:56 +01:00
Thibault Delavallée c7d8842b02 [IMP] mail, email_template: fixed attachment management (template does not override provided attachments anymore; fixed possible unexisting attachment ids key; fixed some duplication.
bzr revid: tde@openerp.com-20130304092248-mqadzmrhgdu58j8y
2013-03-04 10:22:48 +01:00
Thibault Delavallée 46a5b63cad [IMP] email_template: better management of attachments. In mass mail, we want attachments to be duplicated due to the ownership concept of attachments in OpenERP.
bzr revid: tde@openerp.com-20130301144827-762362bgng5m4nye
2013-03-01 15:48:27 +01:00
Thibault Delavallée df6a3997c2 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130301111146-1s5ckk09wdt88vb4
2013-03-01 12:11:46 +01:00
Thibault Delavallée aa865c8b61 [FIX] Still fixing attachments through templates.
bzr revid: tde@openerp.com-20130228145513-6g30ujr3cm0j8b3u
2013-02-28 15:55:13 +01:00
Thibault Delavallée b0eb876160 [FIX] mail: first try to fix attachment duplication.
bzr revid: tde@openerp.com-20130228132625-8yjggruhrvbvep21
2013-02-28 14:26:25 +01:00
Thibault Delavallée b23987b75f [FIX] mail: compose wizard: fixed subtype.
bzr revid: tde@openerp.com-20130226164448-hpqb4bl05pzwex97
2013-02-26 17:44:48 +01:00
Thibault Delavallée d2e1ff39cc [IMP] Chatter: full wizard composer does not display recipients in 'log' mode.
bzr revid: tde@openerp.com-20130226125038-bgpmfrmt3v44i870
2013-02-26 13:50:38 +01:00
Christophe Matthieu 905984f687 [IMP] mail: invite with send email option false by default
bzr revid: chm@openerp.com-20130226124117-9uryhnemglbjh1jd
2013-02-26 13:41:17 +01:00
Christophe Matthieu c81f9536a5 [MERGE] from trunk
bzr revid: chm@openerp.com-20130226105528-oc73iis3eyuft4f9
2013-02-26 11:55:28 +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
Raphael Collet 55d652e778 [FIX] mail: test 'id not in record_list'
bzr revid: rco@openerp.com-20130221142249-a8go4wtcbi6v1ymb
2013-02-21 15:22:49 +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 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
Christophe Matthieu 468fed66be [IMP] mail: add a method get_signature_footer to add a good signature on bottom of messages sent with the chatter and invite followers
bzr revid: chm@openerp.com-20130124094241-k9ophrwqhne611il
2013-01-24 10:42:41 +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 459da1fb46 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130104160227-42e2vjrqf443muy4
2013-01-04 17:02:27 +01:00
Christophe Matthieu ee08ed5a57 [FIX] mail: default_partner_ids
bzr revid: chm@openerp.com-20130104144833-1wf6fc00jl6vrmri
2013-01-04 15:48:33 +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 f881997d60 [IMP] Invite wizard: emails send when invinting someone now contains sur user signature.
bzr revid: tde@openerp.com-20130104091045-74dn4lj9yyxdfdf6
2013-01-04 10:10:45 +01:00
Christophe Matthieu b0c55ff530 [IMP] mail invite: change browse into read for add signature
bzr revid: chm@openerp.com-20130103152610-mvb6b03u6bbfs3i6
2013-01-03 16:26:10 +01:00
Christophe Matthieu 992dbb2fbf [IMP] mail invite: add signature in invite and not in mail_mail
bzr revid: chm@openerp.com-20130103085732-p329g28wrslplfq3
2013-01-03 09:57:32 +01:00
Thibault Delavallée 92b9d12222 [FIX] Invite wizard: model and res_id were overrided with False by default, not necessary.
bzr revid: tde@openerp.com-20121227164336-22ejph1imvl6hl65
2012-12-27 17:43:36 +01:00
Thibault Delavallée 57facf47cd [IMP] Invite wizard: show emails of partners you choose as recipients.
bzr revid: tde@openerp.com-20121227164316-8bfs1m6vs2sonits
2012-12-27 17:43:16 +01:00
Thibault Delavallée 63d993e45d [CLEAN] invite wizard: removed unused method onchange_partner_ids. Cleaned a bit code in invite_view.
bzr revid: tde@openerp.com-20121221133928-lytc76vbs0bdnhuz
2012-12-21 14:39:28 +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 d36ef41a46 [IMP] mail follower: don't display invite button if the user don't have write access. Use many2many_tags_email widget on composer
bzr revid: chm@openerp.com-20121221102649-xyecgj5tqd3li3hw
2012-12-21 11:26:49 +01:00
Thibault Delavallée 92597407f8 [CLEAN] Cleaned the cleaning of the fix.
bzr revid: tde@openerp.com-20130327111910-l7a9s5rk05b8jbme
2013-03-27 12:19:10 +01:00
Thibault Delavallée f307221f04 [IMP] Cleaned the fix.
bzr revid: tde@openerp.com-20130327111750-auc217sdkg4gieci
2013-03-27 12:17:50 +01:00
Thibault Delavallée 0004301b23 [IMP] mail: now have a subject in composer.
bzr revid: tde@openerp.com-20130326165015-czid1h8xot4mdhyi
2013-03-26 17:50:15 +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 b37450ba49 [IMP] sale, purchase, invoice: automatically subscibe recipints of Send by email as document followers.
bzr revid: tde@openerp.com-20121221095902-k2xk928po48cogdm
2012-12-21 10:59:02 +01:00
Olivier Dony 26e93a59b3 [IMP] mail.compose.message: show emails in m2m_tags, to help confirm partner selection
bzr revid: odo@openerp.com-20121220172012-f0j24mzljgqs9l0r
2012-12-20 18:20:12 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Thibault Delavallée cd0aab0789 [FIX] mail.compose.message: fixed creation of message on its own profile (res_users -> res_partner).
bzr revid: tde@openerp.com-20121212160736-wcas9ucgzkcm1o7f
2012-12-12 17:07:36 +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 0237833240 [FIX] mail.compose.message: fixed rendering when no template is chosen in the selection box; also cleaned display of recipients when using the wizard in mass mailing mode.
bzr revid: tde@openerp.com-20121211155435-l5s9lpghpxw8bi9o
2012-12-11 16:54:35 +01:00
Thibault Delavallée 45e1682327 [FIX] [CLEAN] mail: fixed some access rules issues; removed now unused files.
bzr revid: tde@openerp.com-20121211143301-b52ji02vynvgo3m9
2012-12-11 15:33:01 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Bhumi Thakkar (Open ERP) 1c23e4c671 [FIX] pass the res_model and res_id (user who has hr/employee rights able to invite others.)
bzr revid: bth@tinyerp.com-20121204100651-3xg8q22uszm38gm0
2012-12-04 15:36:51 +05:30
Olivier Dony b770240247 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121120113600-4oyx9sziigbxn8w8
bzr revid: odo@openerp.com-20121120163429-l4cf6r75vwqfvxty
2012-11-20 17:34:29 +01:00
Olivier Dony 01df612cd9 [FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype obsolete and removed
bzr revid: odo@openerp.com-20121116170503-mvsaa0pv5py2b7ri
2012-11-16 18:05:03 +01:00
Christophe Matthieu 8246fb56f8 [IMP] web form: one2many_binary became many2many_binary
bzr revid: chm@openerp.com-20121116112125-ze91rz2zveqzlz2g
2012-11-16 12:21:25 +01:00
Christophe Matthieu c1192ec3a0 [FIX] mail.compose.message: files can be attach to a document and send by mail
bzr revid: chm@openerp.com-20121116111226-0xvb262et94k7omh
2012-11-16 12:12:26 +01:00
Olivier Dony e5921325bd [REM] mail.compose.wizard: remove unused body_text and content_subtype fields
These fields were used in pre-7.0 to manage the plaintext variant of the 
mail being composed, but as of 7.0 the composition wizard will always
use the HTML/Rich text mode, so they can be dropped.

bzr revid: odo@openerp.com-20121115135634-fcy6mexnctwg0nxb
2012-11-15 14:56:34 +01:00
Thibault Delavallée edb1e07948 [FIX] composer: default content subtype is html (note that plaintext management will be removed asap), name_get is now using an id list instead of a single id.
bzr revid: tde@openerp.com-20121115095309-zu4m6nzndlpmfe5b
2012-11-15 10:53:09 +01:00
Thibault Delavallée aa91324cd4 [IMP] mail.compose.message wizard form view: updated a bit display of recipients, displaying Follows of XXX, when commenting a document, to clarify a bit which partners will receive the email.
bzr revid: tde@openerp.com-20121109135612-xw86jk4jlri8zfxp
2012-11-09 14:56:12 +01:00
Christophe Matthieu c22eec5f7d [FIX] mail: scroll, avatar, delete attachments, print
bzr revid: chm@openerp.com-20121109101628-4e8cnjr1lcmt0tdv
2012-11-09 11:16:28 +01:00
Christophe Matthieu c01cc688ce [MERGE] from trunk
bzr revid: chm@openerp.com-20121108111032-m1j10n2pjacr2u8w
2012-11-08 12:10:32 +01:00
Thibault Delavallée 3af6196d9a [MERGE] Sync with addons/trunk.
bzr revid: tde@openerp.com-20121106145346-twr7rg31q2za5bx9
2012-11-06 15:53:46 +01:00
Thibault Delavallée 6ecbae4280 [MERGE] Sync with addons/trunk.
bzr revid: tde@openerp.com-20121105091342-8d1qutx723tv65dx
2012-11-05 10:13:42 +01:00
Divyesh Makwana (Open ERP) 5fc14e25ed [Merge] Merge with main addons.
bzr revid: mdi@tinyerp.com-20121102102429-j3mkthcl2a129mvz
2012-11-02 15:54:29 +05:30
Thibault Delavallée e21e4e178e [FIX] [TMP] mail: tmp fix of Compose a new message box. Also set some fields of the mail.compose.message wizard visible, to ease debugging. This will have to be removed.
bzr revid: tde@openerp.com-20121031165207-wnz41v2wrdfhuus0
2012-10-31 17:52:07 +01:00
Christophe Matthieu 03f8275cdc [IMP] mail: remove the onchange code in wizard/mail_compose_message.py
bzr revid: chm@openerp.com-20121031154044-641rih2zw1jffiem
2012-10-31 16:40:44 +01:00
Christophe Matthieu 988cc6c19e [IMP] mail: add many2many_tag_email widget for wizard
bzr revid: chm@openerp.com-20121031102115-wxmfm27wlz9zsi5j
2012-10-31 11:21:15 +01:00
Thibault Delavallée cbf55bc07d [IMP] [FIX] mail: replying with the wizard does not quote the original message anymore. Updated tests.
bzr revid: tde@openerp.com-20121029100910-c0y6tl1zg2qsqfv5
2012-10-29 11:09:10 +01: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 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
Christophe Matthieu 2055dacf04 [IMP] mail: use widget one2many_binary
bzr revid: chm@openerp.com-20121024092503-mpk7f1vd8jqynvqc
2012-10-24 11:25:03 +02:00
Purnendu Singh (OpenERP) 2a9794f3a5 [MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20121023071105-hmjdhat9t63lb6d4
2012-10-23 12:41:05 +05:30
Thibault Delavallée 2858b8c73f [IMP] mail: cleaned a bit the mail.compose.message form view: debug fields back to invisible, moved into the group for display.
bzr revid: tde@openerp.com-20121019113440-yfohh5gaou8jryiq
2012-10-19 13:34:40 +02:00
Mayur Maheshwari (OpenERP) ecc614a886 [IMP]membership,mail,portal : set multi true in act window
bzr revid: mma@tinyerp.com-20121019092308-scdg14k5tlzz7tfk
2012-10-19 14:53:08 +05:30
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
Thibault Delavallée 8e271d9ba1 [MISC] mail_compose_message: removed forgottent print statemetn.
bzr revid: tde@openerp.com-20121017134508-0pofvym9thbz122k
2012-10-17 15:45:08 +02:00
Thibault Delavallée 925d0a138b [CLEAN] mail.compose.message: removed form view that was done for Chatter, as this is not used anymore.
bzr revid: tde@openerp.com-20121017092642-e27p41f9rqzd2rpm
2012-10-17 11:26:42 +02:00
Thibault Delavallée c3aecf0630 [FIX] Fixed fix of revision 7750. Correct fix was to add in the generated action an use_template context key, that triggers the use of templates. Eveything is then managed inside the email_template override of mail.compose.message.
bzr revid: tde@openerp.com-20121016115839-8cj0u9si20qo14av
2012-10-16 13:58:39 +02:00
Christophe Matthieu 30be16b0fc [MERGE] from trunk
bzr revid: chm@openerp.com-20121011074626-rztxx7vnhg8sd72l
2012-10-11 09:46:26 +02:00
Christophe Matthieu 49a174df57 [IMP] chatter, follower: html/js for css imp
bzr revid: chm@openerp.com-20121010181611-rl167r9h0ejz8zdu
2012-10-10 20:16:11 +02:00
Christophe Matthieu df873d22a8 [FIX] mail: context default value error
bzr revid: chm@openerp.com-20121010101532-v2vx6h01x4zeq0ac
2012-10-10 12:15:32 +02:00
Christophe Matthieu 01b083e14d [FIX]mail: wizard view
bzr revid: chm@openerp.com-20121010073133-sd189dd6uc045tp1
2012-10-10 09:31:33 +02:00
Jalpesh Patel (OpenERP) e846176dfa [IMP]default_get method in mail_compose_message
bzr revid: pja@tinyerp.com-20121008071731-ra4p1a2s5aiu4v4f
2012-10-08 12:47:31 +05:30
Jalpesh Patel (OpenERP) e676beaa38 [IMP]check condition
bzr revid: pja@tinyerp.com-20121008061146-jz78eocp772xztob
2012-10-08 11:41:46 +05:30
Jalpesh Patel (OpenERP) 50a7718e45 [IMP]send mail (automated purchase order notification mail)
bzr revid: pja@tinyerp.com-20121005131804-qliwjans60m08lhx
2012-10-05 18:48:04 +05:30
Christophe Matthieu 9ca47b7f99 [IMP]mail chatter: wizard liked
bzr revid: chm@openerp.com-20121005122741-a0hwb656ww61qcro
2012-10-05 14:27:41 +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
Christophe Matthieu 27d3070220 [IMP] mail: private message
bzr revid: chm@openerp.com-20121003142712-rkadw5oii3tt5o1u
2012-10-03 16:27:12 +02:00
Christophe Matthieu 09763017a5 [IMP]mail: read_more with expandable, debug
bzr revid: chm@openerp.com-20121002151245-yhltbv3r9fo16qek
2012-10-02 17:12:45 +02:00
Christophe Matthieu 8cafaceb4a [MERGE]from trunk-openchatter-chm
bzr revid: chm@openerp.com-20121002105328-1u9qk83fb5jz9teh
2012-10-02 12:53:28 +02:00
Christophe Matthieu b6bb3fbde1 [IMP]mail: js
bzr revid: chm@openerp.com-20121002105235-pxap9qmfht35mc7z
2012-10-02 12:52:35 +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 f0e4dfe42f [IMP] mail: js, xml, Full reply; py read_message
bzr revid: chm@openerp.com-20121001175225-g27s6gtn2fmullgo
2012-10-01 19:52:25 +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 d78a7cdea1 [IMP]mail post: no send empty message
bzr revid: chm@openerp.com-20120927172317-2l19ef9jh0ttfgxy
2012-09-27 19:23:17 +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 3180b4def5 [CLEAN] mail: cleaned mail-invite before merging. Updated some methods and var names; updated some comments.
bzr revid: tde@openerp.com-20120913154844-i5tikncn3sxepk34
2012-09-13 17:48:44 +02:00
Thibault Delavallée 8868fa2810 [IMP] mail_wizard_invite: message is now an html field, and default values embedded inside a div. Added a subject to email sent to newly added followers.
bzr revid: tde@openerp.com-20120913103319-6jg5moa0tl9p6ujn
2012-09-13 12:33:19 +02:00
Thibault Delavallée b183962347 [IMP] mail_wizard_invite: updated default message. An override of default_get allows to have a more precise message.
bzr revid: tde@openerp.com-20120913093320-mhwp43kkgoqd0h33
2012-09-13 11:33:20 +02:00
Thibault Delavallée e7a24e7350 [IMP] mail: invite wizard: added default message; added email send to the newly added followers.
bzr revid: tde@openerp.com-20120912163618-rp67taqr24zp2yei
2012-09-12 18:36:18 +02:00
Thibault Delavallée 2b7112d7ae [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120912142748-mnsaftqea2anwkrc
2012-09-12 16:27:48 +02:00
Thibault Delavallée 828ed33de7 [ADD] mail: added Invite wizard, allowing to add partners to the followers.
bzr revid: tde@openerp.com-20120912133522-af5dvae1rmburfwy
2012-09-12 15:35:22 +02:00
Thibault Delavallée afb49abd3c [FIX] mail.compose.message: fixed a crashing test; fixed parent_id of created mail.message not set, and added a test for that case.
bzr revid: tde@openerp.com-20120912102111-jg5thn4tia92hu4k
2012-09-12 12:21:11 +02:00
Thibault Delavallée c938702ff3 [CLEAN] mail.compose.message: cleaned a bit the comments.
bzr revid: tde@openerp.com-20120912092214-b4x42nv30tok8wdc
2012-09-12 11:22:14 +02:00
Thibault Delavallée 4ede1863d6 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120912080624-kip95tfjiectqexa
2012-09-12 10:06:24 +02:00
Fabien Pinckaers 0296e350a9 [IMP] quick create partners with email
bzr revid: fp@tinyerp.com-20120911161900-7vd2qtd9e0guk1pu
2012-09-11 18:19:00 +02:00
Fabien Pinckaers d7b31c3202 [FIX] Force create when no email in name_create of mail.compose
bzr revid: fp@tinyerp.com-20120911153645-vpi3wi4ddt2tqr5s
2012-09-11 17:36:45 +02:00
Thibault Delavallée 9b9bdae9e0 [IMP] composer: attachments are attached to the mail.compose.message record, not the related document anymore. This way, when deleting the mail.compose.message, attachments will be unlinked. Added deletion cascaded to res_model and res_id = 0, because of attachments added on a not-already-saved composer. BTW, cleaned mail/__openerp__.py.
bzr revid: tde@openerp.com-20120906134201-8845xov0mjbxh8mr
2012-09-06 15:42:01 +02:00
Thibault Delavallée a1fe453223 [IMP] mail_message: attachments deleted when unlinking are those with model=self._name, not only 'mail.mesage'. This allows to remove the unlink override in mail.compose.message.
bzr revid: tde@openerp.com-20120906125217-27nlyveznh12bk63
2012-09-06 14:52:17 +02:00
Thibault Delavallée 9fb978ea81 [IMP] mail: added and cleaned the tests. Fixed various small bugs in composer. Fixed mail_message.message_read() and flattening algorithm. Cleaned tests for message_read to have a more precise test.
bzr revid: tde@openerp.com-20120905155319-wd168m5snb25ari9
2012-09-05 17:53:19 +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 54ec6e8892 [IMP] hr_evaluation: also updated default values when sending a mass_mail reminder.
bzr revid: tde@openerp.com-20120904115723-v5ifjg18l8hmbdj2
2012-09-04 13:57:23 +02:00
Thibault Delavallée 1974375c92 [IMP] hr_evaluation: send remainder email now uses context values to set some default values when sending an email. This is a basic fix of missing feature due to hr_evaluation/wizard/mail_compose_message override. Updated classic form view of mail.compose.message. Not sure it is usefull to keep two form (one classic and one Chatter)... maybe there is something to do here.
bzr revid: tde@openerp.com-20120904115416-zuvna57r3oj37hpu
2012-09-04 13:54:16 +02:00
Thibault Delavallée c52ab94960 [REVIEW] addons: small cleanups nex to a diff read. Some improvements will follow, this commit is about small cleanups.
bzr revid: tde@openerp.com-20120904092820-56zgwpkqfpd7as5k
2012-09-04 11:28:20 +02:00
Thibault Delavallée 88ce376c32 [CLEAN] mail_compose_message: removed default values for partner_ids, that were a bit strange.
bzr revid: tde@openerp.com-20120903181000-4al2stqzqfw4bhfc
2012-09-03 20:10:00 +02:00
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
Thibault Delavallée 0b67a85725 [FIX] mail.message, mail.compose.message: fixed attachments management, added tests.
bzr revid: tde@openerp.com-20120831125605-1oizomm2pv3b5rse
2012-08-31 14:56:05 +02:00
Olivier Dony 9aabe91bbf [FIX] email_template: wip - trying to make templates work again
bzr revid: odo@openerp.com-20120830174452-59q43k1x13at4i37
2012-08-30 19:44:52 +02:00
Thibault Delavallée 00fc7d1e88 [IMP] mail.compose.message: added basic mass_mail support back. Moved generation into a dedicated method, to be inherited in email_template. Added somes tests in mail to test mass_mailing without email_template.
bzr revid: tde@openerp.com-20120830143549-33sgtd30asvztg2c
2012-08-30 16:35:49 +02:00
Thibault Delavallée bec83eef6f [REF] mail_mail: body_html is back, holding the body of emails to send.
Body of send emails is mail_mail.body_html, not body anymore.
Signature adding is back to mail_followers.notify().
Subject adding is still done just before sending.
Updated mail_mail view. mail.compose.message: body_text inside <pre>. 
[TESTS] mail: added tests for message_post, updated tests for mail.message.compose to test the composer only.

bzr revid: tde@openerp.com-20120830085116-o5h13yqodt0vof0k
2012-08-30 10:51:16 +02:00
Thibault Delavallée 9b6379462b [REF] mail_mail: cool and clean refactoring of the models.
Removed body_html and content_subtype fields. We now entirely
rely on the body field, that holds sanitized HTML.
Added a user_signature field from email_template. mail_mail.send()
is now responsible of adding the signature on emails.
mail_notification.notify() sets the user_signature flag on
emails send for notifciations.
mail_mail.send() is responsible of adding a default subject
on emails send if there is no subject on the mail.message,
and res_id and model are set.
purchase_requisition: removed an override of mail.message
schedule_with_attach.

bzr revid: tde@openerp.com-20120829150002-v8t581oesnw0rhvl
2012-08-29 17:00:02 +02:00
Thibault Delavallée aa20e32fba [FIX] mail.compose.message: added a log access because it seems abstract model need that ...
bzr revid: tde@openerp.com-20120828095046-tqx7gpm6d2we4d1o
2012-08-28 11:50:46 +02:00
Thibault Delavallée fb76f9f037 [IMP] [FIX] crm_partner_assign: as it inherits from mail.compose.message, updated the form view to avoid crashe; updated mail.compose.message composition mode, that is now an updatable selection field. crm_partner_assign will habe to be massively cleaned with the new mail module.
bzr revid: tde@openerp.com-20120824122928-dof1y1uxv3lkiwly
2012-08-24 14:29:28 +02:00
Olivier Dony 545d7843e3 [FIX] marketing_campaign: make tests pass again, move partner resolution to mail_compose_message
email_template's job is to generate a mail.mail record, but it
does not care about linking it automatically to a partner
(and certainly not creating new partners) as this must be
usable for mass mailing and for marketing campaign,
and we don't want to pollute the partners database with
possibly thousands of partially fake emails

bzr revid: odo@openerp.com-20120824120102-jycs8x4vkxdmrvge
2012-08-24 14:01:02 +02:00
Olivier Dony f4c2bd121f [IMP] mail.compose.message: cascade delete attachments upon vacuum-clean
bzr revid: odo@openerp.com-20120824112312-zs5raruc4qdprlnp
2012-08-24 13:23:12 +02:00
Thibault Delavallée 95a66586d9 [REF] [TEST] mail: cleaned the way followers are added to a message partner_ids (done in notify in mail.message) and the way emails are send (done in notify in mail.followers). Composition wizard override mail_message.notify to avoid having partners and sending emails. Also added tests that helped finding some bugs, that will be cleaned tomorrow.
bzr revid: tde@openerp.com-20120823180648-8xpu8qyf7qr6azc2
2012-08-23 20:06:48 +02:00
Thibault Delavallée 4e6e86fab5 [IMP] [CLEAN] [WIP] composer: cleaning of the server-side code. It now relies less on context keys and values; some fields have been added to manage the composition mode, model, res_id and message_id as a classic form. Updated form view, with invisible fields, to have those value accessible and modifiable through onchange or through JS. Updated JS-part of the composer to handle the new composer; less options, less logic client-side ! Still not finished, short in time today (have to check mass_mail, templates).
bzr revid: tde@openerp.com-20120822162151-n9o23ik0v45h7v6j
2012-08-22 18:21:51 +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
Fabien Pinckaers 2f9f57cc46 [IMP] removing some FP Note
bzr revid: fp@tinyerp.com-20120822083608-2q98p1758erm8f7t
2012-08-22 10:36:08 +02:00
Fabien Pinckaers 20748495c6 [IMP] force email when quick create
bzr revid: fp@tinyerp.com-20120821180351-t28m9svpdj8ois0k
2012-08-21 20:03:51 +02:00
Thibault Delavallée 24651a903b [IMP] mail.compose.message: added body_text filed, for plain-text; updated composer accordlingly, removed some dead code/css classes.
bzr revid: tde@openerp.com-20120821144930-ucgmx8rwasamhpgp
2012-08-21 16:49:30 +02:00
Thibault Delavallée 169c8055ba [REF] mail.compose.message: removed extended mode, because not really usefull. Removed reference to that mode in addons (crm lead, crm claim, crm helpdesk, hr evaluation, hr recruitement, project issue). Completely removed the wizard directory in hr_evaluation: mail_compose_message will become a button (TODO), and other files were not called anymore in init/openerp files.
bzr revid: tde@openerp.com-20120821142747-q9drv71749opusr1
2012-08-21 16:27:47 +02:00
Fabien Pinckaers afbcc4b579 [FIX] compisition seems to work
bzr revid: fp@tinyerp.com-20120820190231-3cnvj7dtmfgojal4
2012-08-20 21:02:31 +02:00
Fabien Pinckaers 4b6303f205 fix
bzr revid: fp@tinyerp.com-20120820184602-dlz954b8wisethpi
2012-08-20 20:46:02 +02:00
Fabien Pinckaers 9d61a88b40 [IMP] compose wizards
bzr revid: fp@tinyerp.com-20120820165110-h6dub7l7zaufpj3n
2012-08-20 18:51:10 +02:00
Fabien Pinckaers 9fd90c604e test
bzr revid: fp@tinyerp.com-20120820140901-pqvj3fj8zruit3f4
2012-08-20 16:09:01 +02:00
Fabien Pinckaers 06f60b3517 [FIX] body_text --> body, not ure it's good enough
bzr revid: fp@tinyerp.com-20120817120606-t97l9x2dguuv7kmp
2012-08-17 14:06:06 +02:00
Fabien Pinckaers cb944d66ea [IMP] mail message
bzr revid: fp@tinyerp.com-20120817070218-rp1ssuhwnf8raitf
2012-08-17 09:02:18 +02:00
Fabien Pinckaers 960e4ba541 [IMP] email cleaning
bzr revid: fp@tinyerp.com-20120816164311-o7r05mewrvjoldsg
2012-08-16 18:43:11 +02:00
Fabien Pinckaers d820e866ee [MERGE] trunk
bzr revid: fp@openerp.com-20120815185713-82zylb0yqqgs008y
2012-08-15 20:57:13 +02:00
Fabien Pinckaers 677024e099 [IMP] refactoring email
bzr revid: fp@openerp.com-20120815184403-dtpep7ypwbc6hm5w
2012-08-15 20:44:03 +02:00
Thibault Delavallée aac03b547d [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120814152634-ix63oxwcyrfkku4t
2012-08-14 17:26:34 +02:00
niv-openerp 91c6cb6d8d [IMP] replaced text_html widget by html field
bzr revid: nicolas.vanhoren@openerp.com-20120814131003-5iquqrl8g85v2otc
2012-08-14 15:10:03 +02:00
niv-openerp 1ea43c0a23 Changed necessary fields
bzr revid: nicolas.vanhoren@openerp.com-20120813160654-kdebwwds8eysxtar
2012-08-13 18:06:54 +02:00
Thibault Delavallée 620b7e9b11 [IMP] Addons: user_email -> email.
bzr revid: tde@openerp.com-20120810144339-30ro9omgfxtjtjyz
2012-08-10 16:43:39 +02:00
Twinkle Christian (OpenERP) 4c17810919 [IMP]Remove type field from the views
bzr revid: tch@tinyerp.com-20120808130614-ppieuro8um3fylbt
2012-08-08 18:36:14 +05:30
Thibault Delavallée 707c2dd573 [FIX] mail.compos.message: outgoing state only for emails. Send only emails, also.
bzr revid: tde@openerp.com-20120720125709-rgfiwsy8qp3z5x1f
2012-07-20 14:57:09 +02:00
Thibault Delavallée 3c7c73dfca [CLEAN] Removed some commented lines.
bzr revid: tde@openerp.com-20120720125623-rvoyta3kmbkkiwyy
2012-07-20 14:56:23 +02:00