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.
36 lines
1.7 KiB
36 lines
1.7 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- This record is used to xpath the field in pos.config -->
|
|
<record id="pos_config_view_form" model="ir.ui.view">
|
|
<field name="name">pos.config.view.form.inherit.pos.refund.password
|
|
</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="//sheet" position="inside">
|
|
<h2>Security</h2>
|
|
<div class="row mt16 o_settings_container"
|
|
id="accounting_section">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane">
|
|
<span class="o_form_label">Refund Security</span>
|
|
<div class="text-muted">
|
|
Set a security password on refund on pos screen
|
|
</div>
|
|
<div class="content-group">
|
|
<div class="row mt16">
|
|
<label string="Choose Your Password"
|
|
for="refund_security"
|
|
class="col-lg-3 o_light_label"/>
|
|
<field name="refund_security"
|
|
data-inputmask="'mask':'0{min:1}9{0,3}'"
|
|
onchange="this.value = this.value.replace(/[^0-9]/g, '');"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|