summaryrefslogtreecommitdiff
path: root/addons/base_setup/views
diff options
context:
space:
mode:
authorDeep Patel <dep@odoo.com>2018-06-21 15:26:50 +0530
committerRomain Derie <rde@odoo.com>2018-07-20 10:16:59 +0200
commit5ef8300cdd9f00dfd5d6eb186dffafb9be5c0e30 (patch)
treef88805742db46292b9f3244b029a92857e2ce618 /addons/base_setup/views
parent624d75ca94c47c27ccba3ce6666402b050c30e92 (diff)
[ADD] web_unsplash: Find free high-resolution images from Unsplash
This commit: 1. Adds settings to install the new `web_unsplash` enterprise module. See counterpart commit on enterprise for details. 2. Export `ImageWidget` and `update_control_panel` to be able to override them. 3. Add the unsplash access key rights to website designer. (see related OE commit) task-35060 Closes #25825, closes #25637
Diffstat (limited to 'addons/base_setup/views')
-rw-r--r--addons/base_setup/views/res_config_settings_views.xml11
1 files changed, 11 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 53badf36843..1a418fd251c 100644
--- a/addons/base_setup/views/res_config_settings_views.xml
+++ b/addons/base_setup/views/res_config_settings_views.xml
@@ -233,6 +233,17 @@
</div>
</div>
</div>
+ <div class="col-xs-12 col-md-6 o_setting_box">
+ <div class="o_setting_left_pane">
+ <field name="module_web_unsplash" widget="upgrade_boolean"/>
+ </div>
+ <div class="o_setting_right_pane" id="web_unsplash_settings">
+ <label for="module_web_unsplash"/>
+ <div class="text-muted">
+ Find free high-resolution images from Unsplash
+ </div>
+ </div>
+ </div>
</div>
</div>
</xpath>