summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/coupon_program.xml
blob: 54449777871ae175fd8b6c5b30c9a84dd668dfa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="coupon_program_form_view_inherit" model="ir.ui.view">
        <field name="name">coupon.program.inherited</field>
        <field name="model">coupon.program</field>
        <field name="inherit_id" ref="coupon.coupon_program_view_promo_program_form"/>
        <field name="arch" type="xml">
            <xpath expr="//form[1]/sheet[1]/div[1]" position="inside">
                <button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive" modifiers="{}" options="{}">
                    <field name="active" widget="boolean_button" options="{'terminology': 'close'}" modifiers="{}"/>
                </button>
            </xpath>
            <xpath expr="//field[@name='rule_date_to']" position="after">
                <field name="x_studio_field_Ifopn" width="80" widget="image"/>
                <field name="x_studio_field_2Ul77" width="80" widget="image"/>
                <field name="x_studio_image_promo" width="80" widget="image"/>
                <field name="x_studio_banner_promo" width="80" widget="image"/>
            </xpath>
        </field>
    </record>
</odoo>