Files
odoo_source/addons/google_spreadsheet/views/base_config_settings_views.xml
T
Lucas Perais (lpe) 374f2a4d85 [FIX] google_spreadsheet: every config should be handled by google_drive
Before, the field google_drive_authorization_code was duplicated in the view, making it impossible to change the code consistently

Now, the config is handled by google drive as it should

OPW 742062

Closes #16836
2017-05-08 08:48:45 +02:00

20 lines
878 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="base_config_settings_view_form_inherit_spreadsheet" model="ir.ui.view">
<field name="name">base.config.settings.inherit.spreadsheet</field>
<field name="model">base.config.settings</field>
<field name="inherit_id" ref="base_setup.base_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='msg_module_google_spreadsheet']" position="replace">
<div class="content-group" attrs="{'invisible': [('module_google_spreadsheet','=',False)]}">
<div class="content-group mt16">
Please use the settings of Google Drive
on the left or above.
</div>
</div>
</xpath>
</field>
</record>
</odoo>