Files
pms/pms/views/product_pricelist_views.xml
2020-10-23 17:20:06 +02:00

36 lines
1.2 KiB
XML

<?xml version="1.0" ?>
<odoo>
<record id="product_pricelist_view_form" model="ir.ui.view">
<field name="model">product.pricelist</field>
<field name="inherit_id" ref="product.product_pricelist_view" />
<field name="arch" type="xml">
<xpath expr="//field[@name='country_group_ids']" position="before">
<field
name="pms_property_ids"
widget="many2many_tags"
options="{'no_create': True,'no_open': True}"
/>
<field name="pricelist_type" />
<field name="cancelation_rule_id" />
</xpath>
<xpath
expr="//field[@name='item_ids']/tree/field[@name='base']"
position="after"
>
<field
name="pms_property_ids"
widget="many2many_tags"
options="{'no_create': True,'no_open': True}"
/>
</xpath>
</field>
</record>
<menuitem
name="Pricelist"
id="pricelist_menu"
action="product.product_pricelist_action2"
sequence="22"
parent="pms.configuration_others"
/>
</odoo>