* separate signature and payment option from website_quote template feature; * add a settings to choose whether to display the confirmation or pay buttons in customer portal; * simplify settings about website_quote now talking only about the module itself; This commit only adds the settings and parameter. Future commits will use those parameters to effectively trigger some features and hide or display part of customer portal.
24 lines
1.1 KiB
XML
24 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.website.quote</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="sale.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='sale_config_website_quote']" position="after">
|
|
<div class="content-group" attrs="{'invisible': [('module_website_quote','=',False)]}">
|
|
<div class="mt16">
|
|
<label for="default_template_id" class="o_light_label"/>
|
|
<field name="default_template_id" class="oe_inline"/>
|
|
</div>
|
|
<div>
|
|
<button name="%(website_quote.action_sale_quotation_template)d" icon="fa-arrow-right" type="action" string="Quotation Templates" class="btn-link"/>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|