Commit Graph

577 Commits

Author SHA1 Message Date
Thibault Delavallée 0e4422809b [IMP] email_template: now inherit from TestMailMockups test class.
bzr revid: tde@openerp.com-20120913114917-na341w0ja7n0ditu
2012-09-13 13:49:17 +02:00
Thibault Delavallée 2a317c55fb [IMP] mail.compose.message wizard form view: put template field, and template buttons, as invisible.
bzr revid: tde@openerp.com-20120911115947-rfjr8scrq06ni01s
2012-09-11 13:59:47 +02:00
Thibault Delavallée e089d49703 [FIX] sale, mail: fixed Send by email, back to a wizard. Cleaned a bit some code related to that action.
bzr revid: tde@openerp.com-20120911094007-svlzik5kgmp4nuvy
2012-09-11 11:40:07 +02:00
niv-openerp 1c0dd3b016 [IMP] added arguments to widget html usage
bzr revid: nicolas.vanhoren@openerp.com-20120910135708-6wq2v7iet7i11624
2012-09-10 15:57:08 +02:00
Launchpad Translations on behalf of openerp ffc320dcc7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120907045929-grtx16xxp1c4m6rh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120907050524-07x2fgbr194czqbs
2012-09-07 05:05:24 +00:00
Thibault Delavallée 089b64214d [FIX] email_template: various improvements and fixes.
email_template.py: fixed attachments
mail.compose.message: fixed various bugs of onchanges and the use of templates
with the composer. Cleaned and added tests related to the composer using
email_template.
mail.compose.message form view: the use of templates is now for
advanced formatting only.

bzr revid: tde@openerp.com-20120905155626-h6laee191ttnglkh
2012-09-05 17:56:26 +02:00
Olivier Dony 5f1dce419b [IMP] mail*: implement auto-deletion mechanism for mail.message, mail.mail and the attachment
This is based on the auto_delete flag on mail.mail
and the assumption that mail.mail records created
without a parent message will be deleted as a whole,
including the parent message and its attachments.
This is contrasted with mail.mail records created
for notifications regarding a mail.message, and therefore
created with an existing `mail_message_id` parent.
For this last case the parent must not be deleted
along with the child mail.mail, as it exists on its own.

bzr revid: odo@openerp.com-20120905151950-7jv6hi0x5fx5iytp
2012-09-05 17:19:50 +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 a3db9b35bd [WIP] email_template: WIP about debugging the use of email_templates. A method to get and handle values coming from generate_emial has been added. TODO: use it where necessary, clean the remaining of the code, add some tests. Added some new tests.
bzr revid: tde@openerp.com-20120903181111-yy9y6omu4vyhdc11
2012-09-03 20:11:11 +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 761864c11c [FIX] [WIP] email_template: composition wizard: added render_message that get back the values generated by the template in mass_mail mode; email_template overrides the basic behavior of mail, to use the templating power (niak). Various fixes in the wizard, mostly in onchange_template_id. Some code cleaning. Updated the view, because onchange_template_id now take an extr argument (model). Added some tests used during this WIP. Will be updated next week.
bzr revid: tde@openerp.com-20120831171900-ii0ucshjnf8vjc3z
2012-08-31 19:19:00 +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 fb7491ed70 [FIX] email_template: fix template views + preview after latest model changes
bzr revid: odo@openerp.com-20120831163904-jh76tko9hwd2a06y
2012-08-31 18:39:04 +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
Thibault Delavallée c14a11482c [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120831074032-3b41p3qnuknfv461
2012-08-31 09:40:32 +02:00
Launchpad Translations on behalf of openerp 4639967d0c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120831045649-sm7os4ihiv8fv422
2012-08-31 04:56:49 +00: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 088dc6a3d3 [WIP] email_template: WIP on mail.compose.message in email_template. Cleaned a bit the code, the view. Added base for testing mail composer in tests. TODO: handle partners, email_cc, email_to, attachments, ... almost everything.
bzr revid: tde@openerp.com-20120830155154-419yn1aj0u6vq8yb
2012-08-30 17:51:54 +02:00
Thibault Delavallée 8b910c1f1d [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120829074244-x6u8dnw4owiw93pv
2012-08-29 09:42:44 +02:00
Launchpad Translations on behalf of openerp 4e31d1be93 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120828064335-bftlutj6aiymztbp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120828072410-7ndsu3tnyrjhtuor
2012-08-28 07:24:10 +00:00
Thibault Delavallée 4b0d1be1c0 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120827083705-p2edynkzch7hszrd
2012-08-27 10:37:05 +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
Thibault Delavallée 18f6fd8990 [FIX] email_template: fixed inherited view.
bzr revid: tde@openerp.com-20120824103845-7g1jzgtcctry6nod
2012-08-24 12:38:45 +02:00
Olivier Dony 2b14337518 [FIX] email_template: fix invalid _rec_name
bzr revid: odo@openerp.com-20120822184856-ye5ff2wzvte0qgwr
2012-08-22 20:48:56 +02:00
Saurang Suthar(OpenERP) 095843797c [IMP] Improved _openerp__.py of all modules by replacing demo_xml with demo, init_xml and update_xml with data and adding noupdate
bzr revid: pso@tinyerp.com-20120822130232-un52dks3sclyx8m5
2012-08-22 18:32:32 +05:30
pso (OpenERP) c78a04bc68 [MERGE] Merged HSA's branch to improve __openerp__.py of all modules by replacing init_xml, update_xml with data, demo_xml with demo, Adding noupdate in init_xml files
bzr revid: pso@tinyerp.com-20120822071445-yamr1s0zf3fk9jj7
2012-08-22 12:44:45 +05:30
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
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
pso (OpenERP) 72ec57d5d4 [MERGE] Merged SSU's branch to improve module description with respect of rst format
bzr revid: pso@tinyerp.com-20120821111356-abyhw484xe2nkzyi
2012-08-21 16:43:56 +05:30
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
Hardik b040d2706d [IMP]update __openerp__.py in all modules
bzr revid: hsa@tinyerp.com-20120817111540-rfql0ifsvbx5nz7g
2012-08-17 16:45:40 +05:30
Vo Minh Thu 9822629548 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120813160657-ilujdek8ys4fzhp9
2012-08-13 18:06:57 +02:00
Twinkle Christian (OpenERP) 2d6aae609b [IMP]Remove type field from the views
bzr revid: tch@tinyerp.com-20120808121950-r4tux6lfej82bi2h
2012-08-08 17:49:50 +05:30
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
Launchpad Translations on behalf of openerp 3cfd65b43d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120807053928-8131c98edycpivlb
2012-08-07 05:39:28 +00:00
Twinkle Christian (OpenERP) cb1c6c08af [IMP]Improve search view in all modules
bzr revid: tch@tinyerp.com-20120731112804-a0akxtqr1z0uew6w
2012-07-31 16:58:04 +05:30
vta vta@openerp.com 264d2c3365 [MERGE] Trunk.
bzr revid: vta@openerp.com-20120730123628-49rirhupbwqfzr0r
2012-07-30 14:36:28 +02:00
Launchpad Translations on behalf of openerp 0c581831b8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120728045741-hrbggtt37yutrbpx
bzr revid: launchpad_translations_on_behalf_of_openerp-20120729043802-x7m56po0nxue0jb0
2012-07-29 04:38:02 +00:00
Antony Lesuisse 775b1db3bf [FIX] email_template chatter icons
bzr revid: al@openerp.com-20120726021434-fsrca98mrw905dmi
2012-07-26 04:14:34 +02:00
Stephane Wirtel 9f299d9a20 [MERGE] lp:~openerp-dev/openobject-addons/trunk-review_module_desc-psi
bzr revid: stw@openerp.com-20120724080711-6655pbbfubiau3li
2012-07-24 10:07:11 +02:00
Thibault Delavallée 1b5b5d9a87 [CLEAN] email_template: removed print statements.
bzr revid: tde@openerp.com-20120720141754-dlbl78znso8dzyz2
2012-07-20 16:17:54 +02:00
Turkesh Patel (Open ERP) 29eb035bca [IMP] email_template: improved search view.
bzr revid: tpa@tinyerp.com-20120720095256-qhjdl6jrtcw2qo1k
2012-07-20 15:22:56 +05:30
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 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 b722ae5b82 [IMP] mail: chatter: save template button not opening a new wizard anymore.
bzr revid: tde@openerp.com-20120718110815-hqlis1tdq27upbqn
2012-07-18 13:08:15 +02:00
Purnendu Singh (OpenERP) c45d68d6b8 [MERGE] Merge with main addons
bzr revid: psi@tinyerp.com-20120718055558-03lss1ha0tcdi2dk
2012-07-18 11:25:58 +05:30
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