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.
|
|
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="product_category_form_view" model="ir.ui.view"> <field name="model">product.category</field> <field name="inherit_id" ref="product.product_category_form_view"/> <!-- Priority to avoid to break account and logistics fields--> <field name="priority">20</field> <field name="arch" type="xml"> <field name="type" position="after"> <field name="available_in_pos"/> </field> <xpath expr="//div[contains(@class,'oe_title')]" position="before"> <field name="image_medium" widget="image" class="oe_avatar" options='{"size": [100, 100]}'/> </xpath> </field> </record>
<record id="product_category_list_view" model="ir.ui.view"> <field name="model">product.category</field> <field name="inherit_id" ref="product.product_category_list_view"/> <field name="arch" type="xml"> <xpath expr="//field[@name='display_name']" position="after"> <field name="available_in_pos" string="Available in POS"/> </xpath> </field> </record> </odoo>
|