Commit Graph

130 Commits

Author SHA1 Message Date
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
Olivier Dony 9d16f324e9 [IMP] email.template: review/adapt form to 7.0-style + continue refactoring polishing
bzr revid: odo@openerp.com-20120901010907-703t6vx6n99tnyzq
2012-09-01 03:09:07 +02:00
Thibault Delavallée 7eb5b82950 [FIX] email_template: generate_email now returns a standard-looking attachments in values (list of tuples).
bzr revid: tde@openerp.com-20120831171622-ibrrz5us0lunoi0q
2012-08-31 19:16:22 +02:00
Olivier Dony 04c6823a99 [IMP] email_template: email.template does not inherit from mail.mail anymore, they had almost nothing left in common
+ minor lint cleanup

bzr revid: odo@openerp.com-20120831155805-bs8jmpt3eh52zwfb
2012-08-31 17:58:05 +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
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
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 95b13bdaa4 [FIX] *mail: s/mail_message/mail_mail/ for cases where a full mail_mail is necessary
bzr revid: odo@openerp.com-20120821212419-yu2criox6sayf2cv
2012-08-21 23:24:19 +02:00
Fabien Pinckaers 043dc83d20 [IMP] mails
bzr revid: fp@tinyerp.com-20120817125004-wcchhac2cvxuf93i
2012-08-17 14:50:04 +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 a71b01ab24 [IMP] mail cleaning
bzr revid: fp@tinyerp.com-20120817115513-3b3faqcl78blyrfo
2012-08-17 13:55:13 +02:00
Thibault Delavallée f725d5e679 [FIX] email_template: fixed an issue where no destination partner could be found.
bzr revid: tde@openerp.com-20120807160924-hdnqudnwowkbmsem
2012-08-07 18:09:24 +02:00
Thibault Delavallée 6b9783629b [IMP] mail: composition form: added partner form email templates; when sending an email, email_to is composed based on partner_ids also.
bzr revid: tde@openerp.com-20120719135745-b9ksd2adtrfdb2bm
2012-07-19 15:57:45 +02:00
Thibault Delavallée 4e038b3615 [IMP] email_template: override name_get, because old one coming from mail.message.common was quite ugly for email templates.
bzr revid: tde@openerp.com-20120717132329-5m15l8akdu8hksy4
2012-07-17 15:23:29 +02:00
Thibault Delavallée 289dad87d4 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120703122020-79rl9b03mygz5s0h
2012-07-03 14:20:20 +02:00
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Thibault Delavallée 7a553f429b [MERGE] Merged with main addons.
bzr revid: tde@openerp.com-20120511124643-y1rsa0ouh3e6xq1k
2012-05-11 14:46:43 +02:00
Raphael Collet a327b7aed5 [IMP] adapt po files to label changes, to ease translations
bzr revid: rco@openerp.com-20120510130751-3vhhfbsmo45zitzx
2012-05-10 15:07:51 +02:00
Mayur Maheshwari (OpenERP) 9e59ce8812 [IMP]all: Improve all typos
bzr revid: mma@tinyerp.com-20120424060532-ohrf0sxwq8rpq6ls
2012-04-24 11:35:32 +05:30
Thibault Delavallée 318ef517ab [REF] mail.message.common model: renamed subtype to content_subtype. Purpose: make a distinction between content and message model. Type and subtype will be used to distinguish messages, content_subtype to distinguish the content itself.
bzr revid: tde@openerp.com-20120420093645-tt78zzrmq2nxomvb
2012-04-20 11:36:45 +02:00
Rucha Patel b3f2abec46 [FIX] email_template: ensure non-empty context when rendering template'
bzr revid: odo@openerp.com-20120322141153-8u3kia3k125et6b5
2012-03-22 15:11:53 +01:00
Christophe Simonis b7bad83c21 [FIX] email_template: report_name must be rendered
bzr revid: chs@openerp.com-20120316091517-e2hc8ydzd3vnnv3j
2012-03-16 10:15:17 +01:00
Olivier Dony 3e0279ac4a [FIX] email_template: attachments were not being sent due to programming error
bzr revid: odo@openerp.com-20120315155512-s76y2u3gz3awfy74
2012-03-15 16:55:12 +01:00
Olivier Dony d55eff4218 [FIX] email.template: body_html should be translatable
bzr revid: odo@openerp.com-20120309160625-kwp4pof4vm7aci2g
2012-03-09 17:06:25 +01:00
Olivier Dony eefbb2ac5c [FIX] email_template: care for missing context
bzr revid: odo@openerp.com-20120309011156-q53pc4h6stlz3kq2
2012-03-09 02:11:56 +01:00
Olivier Dony 16a8811930 [IMP] mail,email_template: improved views, assert missing email_from
- add missing colspans for notebooks
- remove some buttons from mail.message form view,
  namely because send button can cause record deletion
  possibly causing some weird UI result.. better used
  from the list view for now (web was fixed anyway)
- better domain on Message action, to ease debugging
- added assert for email_from in email_template.send_email()
  to catch errors earlier

bzr revid: odo@openerp.com-20120213143531-eiuhulo46bv059pl
2012-02-13 15:35:31 +01:00
Olivier Dony a4a36695c7 [IMP] email_template: use button name as action name
The action name is what gets displayed in the sidebar
and there is no reason to have a different name for
the action and button anyway.

lp bug: https://launchpad.net/bugs/886144 fixed

bzr revid: odo@openerp.com-20120125174249-wxor3br5xbqtluld
2012-01-25 18:42:49 +01:00
tfr@openerp.com dde2a5766f [FIX] auto populate Wizard while clicking on email template
lp bug: https://launchpad.net/bugs/886144 fixed

bzr revid: tfr@openerp.com-20120118164943-4u1c79bzeqakizua
2012-01-18 17:49:43 +01:00
fp 8aff5209ea [IMP] improved error message, constraints must allways propose a solution
bzr revid: fp@fp-laptop-20111231075720-4kak7o320td4wxqc
2011-12-31 08:57:20 +01:00
Olivier Dony 61eb5220a9 [IMP] edi,email_template: allow directly sending EDI emails notification without queuing
bzr revid: odo@openerp.com-20111103020803-woh1ydv1z0okfp3i
2011-11-03 03:08:03 +01:00
Olivier Dony ae7de39d53 [IMP] email_template: add urllib.quote in template rendering context
bzr revid: odo@openerp.com-20111010103637-rev1ixeagcpxk34o
2011-10-10 12:36:37 +02:00
Olivier Dony ae744a7ad0 [IMP] email.template: pass proper subtype when HTML content is present
bzr revid: odo@openerp.com-20110930211109-rgx9kmx6rghd5dsf
2011-09-30 23:11:09 +02:00
Harry (OpenERP) fa80282887 [FIX] edi: correct datas of email_template
bzr revid: hmo@tinyerp.com-20110915053043-a6f2d7ecwfbzspu1
2011-09-15 11:00:43 +05:30
Olivier Dony d22c3043aa [FIX] marketing_campaign: typos and cleanup
bzr revid: odo@openerp.com-20110912180025-scdjvcnquo07zcha
2011-09-12 20:00:25 +02:00
Olivier Dony 9d93a382a3 [IMP] email_template: use raw template for msg composition in mass_mail mode
bzr revid: odo@openerp.com-20110909201037-qz9m9mte6qh8flxd
2011-09-09 22:10:37 +02:00
Olivier Dony 0a751bcae5 [IMP] email.template: typos and usability review
bzr revid: odo@openerp.com-20110908175541-h2qdchdwf60srksy
2011-09-08 19:55:41 +02:00
Olivier Dony 4281cbd0de [IMP] email.template: typos and usability review
bzr revid: odo@openerp.com-20110908173752-j6z5kd1in80jk8re
2011-09-08 19:37:52 +02:00
Olivier Dony c908a2f4d3 [FIX] email_template: unused import
bzr revid: odo@openerp.com-20110907172551-sgk2k2i7oh8hi5zh
2011-09-07 19:25:51 +02:00
Olivier Dony 1db8e54425 [IMP] all: unified context params for mail composition wizard
A single common `mail.compose.message.mode` key is now
used in the context, avoiding name collisions and being
more consistent.

bzr revid: odo@openerp.com-20110906093228-itbilwzpv4wl07j9
2011-09-06 11:32:28 +02:00
Olivier Dony 0b0aa95cfe [IMP] email_template: another pass of cleanup (wip)
bzr revid: odo@openerp.com-20110825122725-mc1zx2f3ck9xr6g9
2011-08-25 14:27:25 +02:00
Olivier Dony 50507512cb [MERGE] latest trunk
This was a helluva merge, with hundreds of conflicts resolved manually!!
I hope I did not break too many things, but a full review of the mail-related
features (where most of the conflicts occurred) must still be done before
this feature branch can be merged.

bzr revid: odo@openerp.com-20110809234428-3dsvxrt6t54ju0cf
2011-08-10 01:44:28 +02:00
Vo Minh Thu a37a4404fb [REF] consistent, grepable ir.values object naming.
bzr revid: vmt@openerp.com-20110516153331-vusrrgr3hvlcyei0
2011-05-16 17:33:31 +02:00
Rifakat Haradwala (Open ERP) 89ee28b7d1 email_template: code optimization, removed unused imports and useability fix
bzr revid: rha@tinyerp.com-20110511110423-ojb059dpf1m39ib5
2011-05-11 16:34:23 +05:30
Rifakat Haradwala (Open ERP) 5c0308f078 [FIX]
bzr revid: rha@tinyerp.com-20110510135048-f044stg7gaij0867
2011-05-10 19:20:48 +05:30
Harry (OpenERP) 73209aee95 [MERGE] email_template: new button save as template in compose wizard
bzr revid: hmo@tinyerp.com-20110426125727-9l5ig560u2kyzrud
2011-04-26 18:27:27 +05:30
Rifakat Haradwala (Open ERP) d63731b65f [IMP]: email_template:
*able to save email as new template to reuse it
*evaluating expression type for mail same as email_template

bzr revid: rha@tinyerp.com-20110426115445-qpx91w218tyg4jde
2011-04-26 17:24:45 +05:30
Harry (OpenERP) da7aad526d [REVIEW+FIX]
bzr revid: hmo@tinyerp.com-20110420134033-m1euj9hws0i6v0tx
2011-04-20 19:10:33 +05:30
Rifakat Haradwala (Open ERP) 0ce94ac23a [FIX]: email_template: indentation
bzr revid: rha@tinyerp.com-20110420124610-jpp6yc4b6qoxu8tf
2011-04-20 18:16:10 +05:30
Rifakat Haradwala (Open ERP) 71794fb91a [IMP] email_template: changes in on_change_template where called generate_email() of template and clean the code
bzr revid: rha@tinyerp.com-20110420115430-wdghz5qd6nzw8pnf
2011-04-20 17:24:30 +05:30
Rifakat Haradwala (Open ERP) a353b5e927 [IMP] email.message.common:
*removed context email_model and email_res_id from related modules as there is no need
*improvements for email.message.common 
*removed fields track_campaign_item and message_id and imp for email_template

bzr revid: rha@tinyerp.com-20110413104145-htrse705w3aak2f3
2011-04-13 16:11:45 +05:30