flectra/addons/website_sale_digital/views/website_sale_digital_view.xml

29 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" ?>
2018-01-16 11:34:37 +01:00
<flectra>
<record id="product_template_view_form_inherit_digital" model="ir.ui.view">
<field name="name">product.template.view.form.inherit.digital</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view" />
<field name="arch" type="xml">
<button name="toggle_active" position="before">
<button class="oe_stat_button" name="action_open_attachments" type="object" icon="fa-file">
<field string="Portal Files" name="attachment_count" widget="statinfo" />
</button>
</button>
</field>
</record>
<record id="product_product_view_form_inherit_digital" model="ir.ui.view">
<field name="name">product.product.view.form.inherit.digital</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<button name="toggle_active" position="before">
<button class="oe_stat_button" name="action_open_attachments" type="object" icon="fa-file">
<field string="Portal Files" name="attachment_count" widget="statinfo" />
</button>
</button>
</field>
</record>
2018-01-16 11:34:37 +01:00
</flectra>