odoo-testing-addons/addons/dine360_restaurant/views/product_template_views.xml
2026-01-31 08:29:51 -05:00

18 lines
811 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Add POS Category field to Product form -->
<record id="product_template_form_view_pos_category" model="ir.ui.view">
<field name="name">product.template.form.pos.category</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<!-- Add POS Category field after Product Category -->
<xpath expr="//field[@name='categ_id']" position="after">
<field name="pos_categ_ids" string="POS Product Categories"
widget="many2many_tags"
options="{'no_create': True, 'no_open': True}"/>
</xpath>
</field>
</record>
</odoo>