diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-05-27 14:59:14 +0000 |
|---|---|---|
| committer | Vincent Schippefilt <vsc@odoo.com> | 2019-07-29 08:28:15 +0000 |
| commit | edc60f7fb4b73327787428e5a5a1f16604778343 (patch) | |
| tree | ed92a0aff0def040fc8e8281679b62508c2bc971 /addons/web/static/src/xml/base.xml | |
| parent | db8d22621f8921bf42532af9bdd1c4ed1bddabef (diff) | |
[REF] web,web_editor: moved ColorpickerDialog to web
The reason this widget was moved is that the next improvement
([IMP] base: Configure document layout) defines a new field (FieldColor)
which needs to call the colorpicker dialog inside of the base module.
This couldn't be done while the dialog was located in the wysiwyg assets.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index f9564dbe228..6d55901f0cd 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1516,4 +1516,13 @@ </button> </t> +<t t-name="FieldColor"> + <div class="o_field_colors_wrapper"> + <span class="o_field_colors"></span> + <button class="o_reset_colors btn btn-link" title="Reset default colors" aria-label="Reset colors"> + <i class="fa fa-refresh"></i> + </button> + </div> +</t> + </templates> |
