Commit Graph

78 Commits

Author SHA1 Message Date
Olivier Dony 96dd64e31f [REVERT] mail: undo model-level change that can cause issue for stable deployments
Failing to force a manual update of the mail module would cause
all composer wizards to display html contents without the WYSIWYG
editor, making it mostly unusable for regular users. Users are
not expected to always force an update of all modules after
updating to the latest source code.

bzr revid: odo@openerp.com-20130417081410-dwc33ymizlihvbng
2013-04-17 10:14:10 +02:00
Christophe Simonis 326506db2c [FIX] mail: mail composer: Use a text field instead of a html field
html fields are sanitized just before saving data into the database.
In the composer, this cause the sanitization of the templated
message (for mass mailing messages) before the rendering, forbidding
the use of templated html links.
The html of the message is sanitized by  message_post()

bzr revid: chs@openerp.com-20130411182226-lwnpkh4tmyswjjnc
2013-04-11 20:22:26 +02: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
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
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
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
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 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 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
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 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
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
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
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
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 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 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 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
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 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 677024e099 [IMP] refactoring email
bzr revid: fp@openerp.com-20120815184403-dtpep7ypwbc6hm5w
2012-08-15 20:44:03 +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
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 3c7c73dfca [CLEAN] Removed some commented lines.
bzr revid: tde@openerp.com-20120720125623-rvoyta3kmbkkiwyy
2012-07-20 14:56:23 +02:00
Thibault Delavallée c6edc0158b [IMP] mail: chatter: cleaned a bit the js code; added a refresh of internal records structure, that was causing some issues when loading more comments in record thrad.
bzr revid: tde@openerp.com-20120719120315-2sg2peifgh4hklvo
2012-07-19 14:03:15 +02:00
Thibault Delavallée 56e6186ad9 [IMP] mail, email_template: chatter: added forgotton images for links/buttons, cleaned a bit the CSS for the composer.
bzr revid: tde@openerp.com-20120718133234-p933jg1y8658i5ah
2012-07-18 15:32:34 +02:00
Thibault Delavallée b92f0df86c [IMP] email_template: cleaned wizard behavior (no more reloading, only value update); cleaned form view for chatter. Also cleaned form view for compose wizard (removed unnecessary colspan=4).
bzr revid: tde@openerp.com-20120717130718-w8c8dwv1ga9uhivs
2012-07-17 15:07:18 +02:00
Thibault Delavallée f33b42b5cb [IMP] mail: chatter composition form: now fetches a form view instead of using the default one. Also changed priority of chatter form view, to have the classic form view for other uses.
bzr revid: tde@openerp.com-20120716153947-1u130ky6j1u32ff0
2012-07-16 17:39:47 +02:00
Thibault Delavallée 617a3b7552 [IMP] mail: composition form: improved usability of Post / Send an email -> Send / Comment.
bzr revid: tde@openerp.com-20120712124440-1ofy1big9xqsosg2
2012-07-12 14:44:40 +02:00
Thibault Delavallée 1daefb8fd5 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120711075257-1gldrjfxw8vgi7hx
2012-07-11 09:52:57 +02:00