These changes are made as a result of simplifying attrs and 'states' in views. Before applying the migration script, it is necessary to fix some views. These views are erroneous and either work by chance or are simply untested. We have for example wrong domains, elements used by modifiers but not present in the view, obsolete domain operators, inherit views not targeting the right views, xpaths using attributes as target, the use of %(...)s in views, false attribute value types in python. Part-of: odoo/odoo#104741
25 lines
1.3 KiB
XML
25 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.google_gmail</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="mail.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<div id="msg_module_google_gmail" position="replace">
|
|
<div class="row mt16" id="gmail_client_identifier">
|
|
<label string="ID" for="google_gmail_client_identifier" class="col-lg-3 o_light_label"/>
|
|
<field name="google_gmail_client_identifier" class="ms-2"
|
|
placeholder="ID of your Google app"/>
|
|
</div>
|
|
<div class="row mt16" id="gmail_client_secret">
|
|
<label string="Secret" for="google_gmail_client_secret" class="col-lg-3 o_light_label"/>
|
|
<field name="google_gmail_client_secret" password="True" class="ms-2"
|
|
placeholder="Secret of your Google app"/>
|
|
</div>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|