In view inheritance, selecting an element based on the attribute `string` is broken, since this attribute may be translated before the inheritance is applied. This fixes existing views to avoid such selections.
24 lines
866 B
XML
24 lines
866 B
XML
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record model="ir.ui.view" id="view_pos_config_form">
|
|
<field name="name">pos.config.form.view</field>
|
|
<field name="model">pos.config</field>
|
|
<field name="inherit_id" ref="point_of_sale.view_pos_config_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='features']/group[1]" position="inside">
|
|
<field name='iface_discount' />
|
|
</xpath>
|
|
<xpath expr="//group[@name='receipt']" position="after">
|
|
<group string="Discounts" col="4" >
|
|
<field name='discount_pc' />
|
|
<field name="discount_product_id" />
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|