[FIX] l10n_ke_edi_tremol: use the new tags for the settings

Change the arch to use the new tags for the settings. If the new tags
are not used, the search cannot be performed on these settings.

closes odoo/odoo#110519

See: 02f7835aade005484ca49a8ba4c5c5feea249aae
X-original-commit: 4ab728c5ac0c28947901727f4986b3a6904f6ef7
Signed-off-by: Michaël Mattiello <mcm@odoo.com>
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
This commit is contained in:
Jorge Pinna Puissant
2023-01-20 17:52:16 +01:00
parent b63a0dced3
commit aa1b22447d
@@ -7,25 +7,19 @@
<field name="arch" type="xml">
<xpath expr="//block[@id='account_vendor_bills']" position="after">
<div attrs="{'invisible':[('country_code', '!=', 'KE')]}">
<h2>Kenya TIMS Integration</h2>
<div class="row mt16 o_settings_container" id="l10n_ke_cu_details">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<span class="o_form_label">Tremol Device Settings</span>
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
<div class="text-muted">
The tremol device makes use of a proxy server, which can be running locally on your computer or on an IoT Box.
The proxy server must be on the same network as the fiscal device.
</div>
<block title="Kenya TIMS Integration" id="l10n_ke_cu_details">
<setting
string="Tremol Device Settings"
help="The tremol device makes use of a proxy server, which can be running locally on your computer or on an IoT Box. The proxy server must be on the same network as the fiscal device."
company_dependent="1">
<div class="content-group">
<div class="row mt8">
<label for="l10n_ke_cu_proxy_address" class="col-lg-5 o_light_label"/>
<field name="l10n_ke_cu_proxy_address"/>
</div>
</div>
</div>
</div>
</div>
</setting>
</block>
</div>
</xpath>
</field>