2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<record id="pos_config_view_form_inherit_pos_discount" model="ir.ui.view">
|
|
|
|
<field name="name">pos.config.form.inherit.pos.discount</field>
|
|
|
|
<field name="model">pos.config</field>
|
|
|
|
<field name="inherit_id" ref="point_of_sale.pos_config_view_form" />
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<div id="btn_use_pos_discount" position="replace">
|
|
|
|
<div class="row mt16">
|
|
|
|
<label string="Discount Product" for="discount_product_id" class="col-md-3 o_light_label"/>
|
|
|
|
<field name="discount_product_id" attrs="{'required':[('module_pos_discount','=',True)]}"/>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<label string="Discount %" for="discount_pc" class="col-md-3 o_light_label"/>
|
|
|
|
<field name="discount_pc"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</field>
|
|
|
|
</record>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|