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.
 
 
 
 

40 lines
1.8 KiB

<?xml version="1.0"?>
<openerp>
<data>
<record id="view_pos_config_form_pos_pricelist" model="ir.ui.view">
<field name="name">view.pos.config.form.pos.pricelist</field>
<field name="model">pos.config</field>
<field name="inherit_id" ref="point_of_sale.view_pos_config_form"/>
<field name="arch" type="xml">
<field name="iface_big_scrollbars" position="after">
<field name="display_price_with_taxes"/>
</field>
</field>
</record>
<record id="view_product_pricelist_form_inherit_pos" model="ir.ui.view">
<field name="name">product.pricelist.form.inherit.pos</field>
<field name="model">product.pricelist</field>
<field name="inherit_id" ref="product.product_pricelist_view"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='type']" position="after">
<field name="pos_config_ids" attrs="{'invisible': [('type','!=','sale')]}" widget="many2many_tags"/>
</xpath>
</data>
</field>
</record>
<record id="view_product_pricelist_tree_inherit_pos" model="ir.ui.view">
<field name="name">product.pricelist.tree.inherit.pos</field>
<field name="model">product.pricelist</field>
<field name="inherit_id" ref="product.product_pricelist_view_tree"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='type']" position="after">
<field name="pos_config_ids" widget="many2many_tags"/>
</xpath>
</data>
</field>
</record>
</data>
</openerp>