diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-02-02 19:05:20 +0000 |
|---|---|---|
| committer | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-02-13 17:29:10 +0000 |
| commit | 9b87228c1e732ec6874540e9a64dad38e243df80 (patch) | |
| tree | 07291d7ec026bc2fe8a59b1e4d9e863355cd31c6 /addons/base_setup | |
| parent | 3a935af85aa8c0185b58866ab1c1ba5d9dc470ba (diff) | |
[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>
Diffstat (limited to 'addons/base_setup')
| -rw-r--r-- | addons/base_setup/views/res_config_settings_views.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/base_setup/views/res_config_settings_views.xml b/addons/base_setup/views/res_config_settings_views.xml index c120b5ac8e8..e322ade86b8 100644 --- a/addons/base_setup/views/res_config_settings_views.xml +++ b/addons/base_setup/views/res_config_settings_views.xml @@ -332,6 +332,9 @@ <div class="text-muted"> Find free high-resolution images from Unsplash </div> + <div class="content-group" attrs="{'invisible': [('module_web_unsplash', '=', False)]}" id="web_unsplash_warning"> + <div class="mt16 text-warning"><strong>Save</strong> this page and come back here to set up the feature.</div> + </div> </div> </div> <div class="col-12 col-lg-6 o_setting_box" id="base_geolocalize"> |
