You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
1.1 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Adding a smart tab in product form for generating custom fields. -->
<record id="product_template_only_form_view" model="ir.ui.view">
<field name="name">product.template.view.form.inherit.dynamic.product.fields</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field eval="1" name="priority"/>
<field name="arch" type="xml">
<data>
<div name="button_box" position="inside">
<button class="oe_stat_button o_res_partner_tip_opp" type="action"
name="%(dynamic_product_fields.product_dynamic_field_action)d"
string="Create Fields"
help="Create Custom Fields"
icon="fa-plus"
groups="dynamic_product_fields.group_add_custom_fields">
</button>
</div>
</data>
</field>
</record>
</odoo>