diff options
| author | dip-odoo <dip@odoo.com> | 2017-08-03 17:33:06 +0200 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2017-08-04 14:58:03 +0200 |
| commit | 9dafd7f47e8a1e7631093e85ed02803097dea6c0 (patch) | |
| tree | 35ce718fb0cd32a5a4f631ed4b89fa400d924985 /addons/website_quote/data/website_quote_data.xml | |
| parent | 65e810269aa220176a703ffd6395021f8f7bd636 (diff) | |
[IMP] website_quote: quote templates are now archivable
We also:
- reorder a bit the form view for quote templates
- change the way default templates are selected for sales order
(inactive quote templates are not selected) while keeping
customizability through ir.values
Diffstat (limited to 'addons/website_quote/data/website_quote_data.xml')
| -rw-r--r-- | addons/website_quote/data/website_quote_data.xml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/addons/website_quote/data/website_quote_data.xml b/addons/website_quote/data/website_quote_data.xml index 63e7c685b9d..b75d364cf95 100644 --- a/addons/website_quote/data/website_quote_data.xml +++ b/addons/website_quote/data/website_quote_data.xml @@ -91,11 +91,7 @@ </section> </field> </record> - - <function id="ir_values_set_sale_order_default_template_id" - model="ir.values" name="set_default" - eval="('sale.order', 'template_id', ref('website_quote_template_default'))"/> - + <record id="confirmation_mail" model="mail.template"> <field name="name">Online Quote: confirmation e-mail</field> <field name="email_from">${(object.user_id.email or object.company_id.email or 'noreply@localhost')|safe}</field> |
