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.
35 lines
1.8 KiB
35 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- To inherit pos session -->
|
|
<record id="pos_config_view_form" model="ir.ui.view">
|
|
<field name="name">pos.config.view.form.inherit.service.charges.pos</field>
|
|
<field name="model">pos.config</field>
|
|
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//setting[@id='other_devices']" position="after">
|
|
<field name="visibility_type" invisible="1"/>
|
|
<setting help="Allow service charges on orders" invisible="visibility_type == 'global'">
|
|
<field name="is_service_charges"/>
|
|
<div class="content-group mt16" invisible="not is_service_charges">
|
|
<div class="row">
|
|
<label for="service_product_id" class="col-lg-3 o_light_label"/>
|
|
<field name="service_product_id"/>
|
|
</div>
|
|
</div>
|
|
<div class="content-group mt16" invisible="not is_service_charges">
|
|
<div class="row">
|
|
<label for="service_charge" class="col-lg-3 o_light_label"/>
|
|
<field name="service_charge"/>
|
|
</div>
|
|
</div>
|
|
<div class="content-group mt16" invisible="not is_service_charges">
|
|
<div class="row">
|
|
<label for="service_charge_type" class="col-lg-3 o_light_label"/>
|
|
<field name="service_charge_type" widget="radio" options="{'horizontal': true}"/>
|
|
</div>
|
|
</div>
|
|
</setting>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|