[IMP] partner_gogocarto_export_api: refactor config settings view
This commit is contained in:
committed by
Stéphan Sainléger
parent
a559fa9e42
commit
65940d54ab
@@ -3,21 +3,28 @@
|
||||
<record id="res_config_settings_view_form_gogocarto" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.gogocarto</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="priority" eval="99"/>
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
||||
<field name="priority" eval="99" />
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[hasclass('settings')]" position="inside">
|
||||
<div class="app_settings_block" data-string="Gogocarto" string="Gogocarto" data-key="gogocarto">
|
||||
<div class="app_settings_block" data-string="Gogocarto" string="Gogocarto"
|
||||
data-key="gogocarto">
|
||||
<h2>Gogocarto export configuration</h2>
|
||||
<div class="text-muted mt16 o_settings_container">
|
||||
Check the export on /web/{COMPANY_ID}/get_http_gogocarto_elements.
|
||||
</div>
|
||||
<div class="row mt16 o_settings_container" id="gogocarto_selection_settings">
|
||||
|
||||
<div class="col-12 col-lg-6 o_setting_box" id="gogocarto_fields">
|
||||
<div class="o_setting_right_pane">
|
||||
<div class="text-muted">
|
||||
Partner fields to export for Gogocarto map. Check the export on /web/get_http_gogocarto_elements.
|
||||
Partner fields to export for Gogocarto map.
|
||||
</div>
|
||||
<div class="content-group">
|
||||
<div class="mt16">
|
||||
<field name="export_gogocarto_fields" widget="many2many_tags" options="{'no_create': True, 'no_open': True}"/>
|
||||
<field name="export_gogocarto_fields"
|
||||
widget="many2many_tags"
|
||||
options="{'no_create': True, 'no_open': True}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -27,4 +34,4 @@
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
</odoo>
|
Reference in New Issue
Block a user