29 lines
1.3 KiB
XML
29 lines
1.3 KiB
XML
![]() |
<?xml version="1.0" ?>
|
||
|
<odoo>
|
||
|
<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>
|
||
|
</odoo>
|