Files
odoo_source/addons/web_unsplash/views/res_config_settings_view.xml
T
Swapnesh Shah 9b87228c1e [IMP] base,web_unsplash: Add set up message
Before this commit, There was no Instrustion to Setup this feature like other Integrations.

Now we display message when we enable this feature for the First time from settings.

closes odoo/odoo#44439

Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
2020-02-13 17:29:10 +00:00

24 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.web.unsplash</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="web_unsplash_warning" position="replace">
<div attrs="{'invisible': [('module_web_unsplash', '=', False)]}">
<div class="content-group mt16">
<label for="unsplash_access_key" class="o_light_label"/>
<field name="unsplash_access_key"/>
</div>
<div>
<a href="https://www.odoo.com/documentation/user/general/unsplash/unsplash_access_key.html" class="oe_link" target="_blank">
<i class="fa fa-arrow-right"/> Generate an Access Key
</a>
</div>
</div>
</div>
</field>
</record>
</odoo>