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.
28 lines
1.2 KiB
28 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!--Inherited the res_config_settings from view of points_of_sale section
|
|
inorder to add a new field - allow_data_auto_sync for the module. -->
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.pos.data.auto.sync</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id"
|
|
ref="point_of_sale.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='pos_interface_section']"
|
|
position="inside">
|
|
<div class="col-12 col-lg-6 o_setting_box"
|
|
id="allow_data_auto_sync_id">
|
|
<div class="o_setting_left_pane">
|
|
<field name="allow_data_auto_sync"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="allow_data_auto_sync"/>
|
|
<div class="text-muted">
|
|
Allow to sync product data automatically.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|