summaryrefslogtreecommitdiff
path: root/addons/sale_quotation_builder/views/sale_order_template_views.xml
blob: 339f5d6abbfb502855b636f251782de1768e4703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="sale_order_template_view_form_inherit_sale_quotation_builder" model="ir.ui.view">
        <field name="name">sale.order.template.form.inherit.sale_quotation_builder</field>
        <field name="inherit_id" ref="sale_management.sale_order_template_view_form"/>
        <field name="model">sale.order.template</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <xpath expr="//sheet" position='before'>
                <header>
                    <button name="open_template" class="oe_highlight" string="Design Template" type="object"/>
                </header>
            </xpath>

            <xpath expr="//notebook[@name='description']" position="inside">
                <page string="Website Description" name="website_description">
                    <field name="website_description" />
                </page>
            </xpath>

            <xpath expr="//tree/field[@name='product_uom_id']" position="after">
                <field name="website_description" invisible="1"/>
            </xpath>

            <xpath expr="//notebook[@name='main_book']" position="inside">
                <field name="website_description" invisible="1"/>
            </xpath>

        </field>
    </record>

</odoo>