Files
odoo_source/addons/website_quote/data/website_quotation_data.xml
T
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

95 lines
4.3 KiB
XML

<openerp>
<data>
<!-- After installation of the module, open the quotations menu -->
<record id="open_quotation_menu" model="ir.actions.client">
<field name="name">Open Quotations</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('sale.menu_sale_quotations')}"/>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="open_quotation_menu"/>
<field name="state">open</field>
</record>
<!--
Update Email template to send right quote url
-->
</data>
<!-- Mails & quote templates is done in a NOUPDATE block
so users can freely customize/delete them -->
<data noupdate="1">
<record id="website_quote_template_default" model="sale.quote.template">
<field name="name">Default Template</field>
<field name="number_of_days">30</field>
<field name="website_description" type="xml">
<section data-snippet-id="title">
<center><h1 class="page-header">Our offer</h1></center>
</section>
<section data-snippet-id="text-block">
<div class="row">
<div class="col-md-12">
<p>
<h3 class="text-muted">Our offer is based on 3 commitments, which drive our business and our partners:</h3>
</p>
</div>
</div>
</section>
<section data-snippet-id="quality">
<div class="row mt32">
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<center><h3 class="panel-title">Quality</h3></center>
</div>
<div class="panel-body">
<p>
Quality in many ways, our reputation was built on the first value.
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<center><h3 class="panel-title">Service</h3></center>
</div>
<div class="panel-body">
<p>
We are always reachable to help you, do not hesitate to contact us at any time.
</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<center><h3 class="panel-title">Price</h3></center>
</div>
<div class="panel-body">
<p>
Our prices are the lowest in the region, if you find cheaper elsewhere, we will refund the difference
</p>
</div>
</div>
</div>
</div>
</section>
<section data-snippet-id="text-block">
<center><h2>Your products/services</h2></center>
<p>
<h3 class="text-muted">
The description of products/services from your quotation will be displayed below
</h3>
</p>
<p>
<b> To write a quotation description, edit your product, go the sales tab and add a text in "Description for quotations"</b>
</p>
</section>
</field>
</record>
</data>
</openerp>