Commit Graph
28 Commits
Author SHA1 Message Date
Yannick Tivisse 006de6b38d [IMP] base: Remove ir.actions.todos on module install
And jump to the App Switcher automatically on module install/upgrade.
That way, we can remove a lot of ir.actions.todo in the code.
2016-02-15 17:40:47 +01:00
Damien Bouvy db5e6a124a [IMP] website_quote: mail template on a quote template for confirmation 2016-01-15 10:01:53 +01:00
Yannick Tivisse 424bd0d0b5 [REM] Remove ir.actions.todo on module installation leading to frontend page
Since we have the app switcher, it makes no sense to jump on a
dashboard view.

Fp request.
2015-12-17 15:36:02 +01:00
Christophe Simonis f61cfaefc8 [MERGE] forward port of branch saas-7 up to 572cbfc 2015-11-25 16:43:19 +01:00
Christophe Simonis d490630745 [MERGE] forward port of branch 9.0 up to b293953 2015-11-25 16:18:10 +01:00
Christophe Simonis 56a442e205 [MERGE] forward port of branch saas-6 up to dade7e3 2015-11-25 13:26:02 +01:00
Denis Ledoux 32fd520d97 [MERGE] forward port of branch 8.0 up to 6f29cbe 2015-11-23 17:40:15 +01:00
Denis Ledoux 777f215edb [FIX] website_quote: quote email template
When there is a quote template set on a sale order,
the email sent by default is the email
`Sales Order - Send by Email (Online Quote)`,
and this since 5153b2d281.

Therefore, there is no point to override the content of the
email template `Sales Order - Send by Email` to set
the quotation link in the email template, since this is not
this email which is being used for sales order with an
online quotation template.

Nevertheless, the link to the email quotation must be
put in the `Sales Order - Send by Email (Online Quote)`,
so the customer can access his online quotation directly
from the confirmation email, as it was designed and done
in the override of the `Sales Order - Send by Email`.

opw-657060
2015-11-20 14:35:13 +01:00
Fabien Pinckaers f6d033f83a [IMP] more professional quotation template by default 2015-11-20 02:11:28 +01:00
Denis Ledoux 4f00372eb1 [FIX] portal_sale, website_quote: jinja2 compatible templates
When editing the email template with the wysiwyg,
`Greater than` & `lower than` are automatically escaped
to > & <, screwing up the jinja2 condition.

This change in the condition makes this Jinja2 condition
compatible with the wysiwyg.

opw-654270
2015-11-19 11:27:14 +01:00
Denis Ledoux d47ee18fef [MERGE] forward port of branch 8.0 up to c9fce1a 2015-11-17 13:19:14 +01:00
Denis Ledoux 7cab554590 [FIX] portal_sale,website_quote: templates compatible with wysiwyg
<% are automatically escaped as soon as the wysiwyg tool
is used to edit the template.
The wysiwyg tool is not compatible with Jinja, and
it isn't expected to be.

To avoid to have this problem everytime when
editing the portal email templates, we use
a Jinja syntax compatible with the wysiwyg,
as a workaround.

opw-654223
2015-11-09 15:38:17 +01:00
Thibault Delavallée 7fe9d58b0d [IMP] invoice, sale, purchase: template update
Templates used to send invoice / quotation / PO by email are cleaned. Custom
style is removed. Content is simplified.

For sale, only one template is kept through the various addons. Previously to
this commit there are 3 templates: standard, portal and online quote. Those
template are similar except the link to get the sale order. Now the base template
contains some logic that should be sufficient to cover all cases. This breaks
the modular approach but is easier to use for users. As templates are still mako
it is not possible to use inheritance. So having a base template knowing some bits
of overriding modules is necessary if we want to avoid having the same template
duplicated.
2015-11-02 11:51:09 +01:00
Denis Ledoux 56ef99d050 [MERGE] forward port of branch saas-6 up to 105b1c0014 2015-10-23 18:31:55 +02:00
Denis Ledoux b0a42eac49 [FIX] website_quote: do not update mails & quote templates
opw-651153
2015-10-05 10:12:57 +02:00
Yannick Tivisse 757ababa68 [FIX] account,sale,purchase: Take country format address in email templates
In qweb reports, the address is displayed according the standards of the
country where it belongs. In the email templates, the company address was
always displayed in the same way, no matter the country of the address.
2015-09-30 16:45:22 +02:00
Jeremy Kersten fa7d32e722 [REV] website, website_quote: partial revert of d1d8802/ed9f8fd
This hack was just good to print, but break all repsonsive snippets.
Previous commit specify the use of col-md when printing, and so avoid
to add xs anywhere !
2015-07-10 16:09:32 +02:00
Nandan Jani d1d8802a40 [IMP] website_quote: support printing for the customer
Backport of master commit ed9f8fdbb4
2015-03-13 16:55:11 +01:00
Christophe Simonis 4eb385fc0b [MERGE] forward port of branch 8.0 up to 0ec3c75 2015-01-23 14:57:07 +01:00
Aaron Bohy ef986fe9de [FIX] Account, portal_sale, sale, website_quote: local paypal gif
Add local copies of the paypal gif to the archive. This fix was required
for Debian packaging. It fixes the privacy-breach-donation lintian error.
2015-01-23 11:11:26 +01:00
Julien De Coster d88c34d11e [IMP] Mass mailings send in cron
1. The merge of the "email_template" module into the "mail" module.
2. The send action of the mass mailing has been moved from the frontend to a cron, because it was too slow to send over 10,000 mails (the user's browser was blocked for 15 - 20 minutes). Mass mailings have now their own process in the kanban view.
3. Mails sent from the mail form are sent immediatly instead of from the mail queue (for instance, when you go to sales > customers > list view > select 2 -3 customers > More > Partner Mass Mailing).
4. Users have now the choice from which mailing list they want to unsubscribe when they click on the unsubscribe link at the bottom of the mail.
5. Mass mailings inherit from their campaign UTMs and mass mailing campaigns are linked to an UTM campaign.
6. Many little improvements
2015-01-07 18:01:58 +01:00
Bhumi Patel c1c8401c01 [IMP] portal_sale, sale, website_quote: display the payment
button in emails only if there is an amount to pay. Free orders
exist (free events for example).

[IMP] website_sale: pay now is now confirm order if the sale order
amount is 0. Also improved the confirmation message in the checkout
process.
2014-11-20 16:21:24 +01:00
Christophe Simonis 52fee2811d [MERGE] forward port of branch 8.0 up to 2b192be 2014-10-16 16:04:39 +02:00
Julien Legros 5153b2d281 [FIX] website_quote: use dedicated email template if a quote template exists 2014-10-03 14:22:38 +02:00
Ronak Baxi be77054a7c [IMP]Website_Quote: Opens quotations menu after installation 2014-08-26 14:31:52 +02:00
avo-odoo df75edbec7 [IMP] website_quote: add default quote template
(Closes #1380)
2014-08-04 16:23:14 +02:00
Fabien Pinckaers 6b7b721814 [IMP] email template for quote
bzr revid: fp@tinyerp.com-20140125232525-f7yax4yaxdbk0z6c
2014-01-26 00:25:25 +01:00
Fabien Pinckaers 7d892584d8 [IMP] renaming to website_quote for coherence with controllers
bzr revid: fp@tinyerp.com-20140125230911-k439s96bw718l23d
2014-01-26 00:09:11 +01:00