Commit Graph

137 Commits

Author SHA1 Message Date
Olivier Dony e5374b93b4 [REF] email_template: cleanup/remove obsolete fields on mail composition wizard: use_template is the default
bzr revid: odo@openerp.com-20121116170259-08eot6wy40yehkh4
2012-11-16 18:02:59 +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
Olivier Dony c558ac6272 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121114172252-q1xj3hdugqhky532
bzr revid: odo@openerp.com-20121115135141-ia8uf5649rapj0v7
2012-11-15 14:51:41 +01:00
Thibault Delavallée da9951baf9 [CLEAN] removed a commented statement, fixed a var name in js.é
bzr revid: tde@openerp.com-20121115124931-w20igi8qk66uvnj0
2012-11-15 13:49:31 +01:00
Thibault Delavallée 81d4467c8f [REV] mail.compose.message using email_template: _reopen is back, as the spec of a wizard should be that hitting a button close it. Therefore _reopen is necessaru to reopen the wizard with its previous value, to continue working on it.
bzr revid: tde@openerp.com-20121115122406-d88ozw5iclsqdyff
2012-11-15 13:24:06 +01:00
Olivier Dony f5f6547fa7 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121113164544-21tmr4bmpt2n1mfl
2012-11-13 17:45:44 +01:00
Thibault Delavallée ad75b35c0e [FIX] email_template: email_recipients, when void, generate a not-void partner_ids.
bzr revid: tde@openerp.com-20121113141213-j2hp2bdakjb4bw8z
2012-11-13 15:12:13 +01:00
Thibault Delavallée c0d3cd2f81 [REVIEW] Removed unnecessary statements.
bzr revid: tde@openerp.com-20121113133815-rswtzhidara3u4zt
2012-11-13 14:38:15 +01:00
Thibault Delavallée a370d1c059 [IMP] email_template: relooked a bit the mail.compose.message wizard, use_template by default, on bottom-right choose the template; rendre only when use_template and template_id set.
bzr revid: tde@openerp.com-20121113113625-fg3jp3047gnrx2wr
2012-11-13 12:36:25 +01:00
Olivier Dony c9d5148991 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121107114202-mt3gny8e2497m7qf
2012-11-07 12:42:02 +01:00
Christophe Matthieu 42dd7711b5 [FIX] email_template: change name value and concat test
bzr revid: chm@openerp.com-20121107113925-1nmjicj444nez25c
2012-11-07 12:39:25 +01:00
Christophe Matthieu 71c73945fa [IMP] email template: add a email_to_partner field for send a email to a partner with the id
bzr revid: chm@openerp.com-20121106191255-dd1xv90ebsejqunf
2012-11-06 20:12:55 +01:00
Olivier Dony 822882f118 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121019082409-lq3jdj6rptxdkzwn
2012-10-19 10:24:09 +02:00
Thibault Delavallée 1737a3161b [REVIEW] Cleaning before merging.
bzr revid: tde@openerp.com-20121018093453-trijh79z0j7oha6f
2012-10-18 11:34:53 +02:00
Thibault Delavallée ae1985702b [REM] email_template: removed overrided chatter form view; updated legacy wizard form view.
bzr revid: tde@openerp.com-20121017092938-8ulu2h3ml9on4iu9
2012-10-17 11:29:38 +02:00
Olivier Dony 5f24594223 [IMP] edi: work-in-progress: remove permanent storage of edi.document
The EDI documents will now be generated on demand
and available from the Portal view of each document.
Instead of getting a link to a statically generated
EDI document, customers will receive a link to
the portal access to the document. They will be able
to signup on the portal the first time as well,
provided they are using the secure token that was
sent to them (i.e. the right link).

The link to pay online will be available in the
portal as well.

Still much to do, this is a small first step,
with edi.document renamed to edi.edi for
consistency, as it will not persist any
edi.document anymore.

bzr revid: odo@openerp.com-20121011152008-bht7ub6woaex0a7u
2012-10-11 17:20:08 +02:00
Christophe Matthieu 76a257cd1b [MERGE] from trunk
bzr revid: chm@openerp.com-20121010185721-in3ab4mr8h72lect
2012-10-10 20:57:21 +02:00
Quentin (OpenERP) fbbc0bad19 [IMP] all: replaced 'true' by 'True' in 'options' attribute in views, because now the syntax of these options must be expressed in python instead of json
bzr revid: qdp-launchpad@openerp.com-20121009143433-s4y6isbewqdn2fu2
2012-10-09 16:34:33 +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 2055dacf04 [IMP] mail: use widget one2many_binary
bzr revid: chm@openerp.com-20121024092503-mpk7f1vd8jqynvqc
2012-10-24 11:25:03 +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
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
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
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 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
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 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
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 a71b01ab24 [IMP] mail cleaning
bzr revid: fp@tinyerp.com-20120817115513-3b3faqcl78blyrfo
2012-08-17 13:55:13 +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
Antony Lesuisse 775b1db3bf [FIX] email_template chatter icons
bzr revid: al@openerp.com-20120726021434-fsrca98mrw905dmi
2012-07-26 04:14:34 +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
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
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 c773bf396e [IMP] email_template: WIP of adding template feature in composer.
bzr revid: tde@openerp.com-20120716173851-63sz7qnqklz3c1zu
2012-07-16 19:38:51 +02:00
Thibault Delavallée 2cbe5b1b7e [FIX] email_template Updated _reopen call according to new function.
bzr revid: tde@openerp.com-20120716173837-t12xb8p270uds508
2012-07-16 19:38:37 +02:00
Thibault Delavallée 21c9788aa7 [FIX] email_template: fixed active_mode, active_id and active_ids.
bzr revid: tde@openerp.com-20120716164825-dj5643lgo6fk6j3h
2012-07-16 18:48:25 +02:00
Fabien Pinckaers 64a9321d56 [IMP] footer on forms
bzr revid: fp@tinyerp.com-20120710164011-unqi1okf2uu8yhts
2012-07-10 18:40:11 +02:00
Quentin (OpenERP) 6fe94bd4bc [MERGE] merged with maint runk
bzr revid: qdp-launchpad@openerp.com-20120629123618-z1bv3dqdfqy23hno
2012-06-29 14:36:18 +02:00
Sanjay Gohel (Open ERP) 1702b2335d [IMP]remove tabs and add spaces instead of them
bzr revid: sgo@tinyerp.com-20120628064005-zuerrpazumf5lf1q
2012-06-28 12:10:05 +05:30
Jigar Amin - OpenERP 1f54be8182 [MERGE] lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-tools-tpa
bzr revid: jam@tinyerp.com-20120619090140-90laxckmkq19h9us
2012-06-19 14:31:40 +05:30