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.
 
 
 

64 lines
3.2 KiB

<?xml version="1.0"?>
<odoo>
<record id="pos_config_view_form_inherit_balance" model="ir.ui.view">
<field name="name">pos.config.form.inherit.balance</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="posbox_reference" position="inside">
<div id="caisse" class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
</div>
<div class="o_setting_right_pane">
<span class="o_form_label">Caisse ID</span>
<div class="text-muted">
Définition de l'ID Caisse pour l'API
</div>
<div class="content-group" attrs="{'invisible': [('is_balance_free', '!=', False)]}">
<div class="row mt16">
<label for="caisse_id" class="col-lg-3 o_light_label"/>
<field name="caisse_id"/>
</div>
</div>
</div>
</div>
<div id="balance_free" class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="is_balance_free"/>
</div>
<div class="o_setting_right_pane">
<label for="is_balance_free"/>
<div class="text-muted">
Active le mode balance libre service
</div>
<div class="content-group" attrs="{'invisible': [('is_balance_free', '=', False)]}">
<div class="row mt16">
<label for="balance_id" class="col-lg-3 o_light_label"/>
<field name="balance_id" attrs="{'required': [('is_balance_free', '=', True)]}"/>
</div>
<div class="row mt16">
<label for="is_comptoir" class="col-lg-3 o_light_label"/>
<field name="is_comptoir"/>
</div>
<div class="row mt16">
<label for="logo_balance" class="col-lg-3 o_light_label"/>
<field name="logo_balance" widget="image"/>
</div>
<div class="row mt16">
<label for="explication_header" class="col-lg-3 o_light_label"/>
<field name="explication_header" />
</div>
<div class="row mt16">
<label for="weight_default" class="col-lg-3 o_light_label"/>
<field name="weight_default" />
</div>
</div>
</div>
</div>
</div>
</field>
</record>
</odoo>