summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core/domain.js
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-06-04 08:06:08 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2020-06-04 19:32:01 +0000
commit884ef9f7ee345ab1e940dbf88f4432b7e10f36e3 (patch)
tree352bb0a399dafa4691f931e111657b84a495d170 /addons/web/static/src/js/core/domain.js
parentcbdff80157cec3cbff71ea7a41227c9f0d569133 (diff)
[REF] web: force dropdown menu icon through getter
Before this ref, the dropdown menu got his icon directly from his props. This means that any inheriting class had either to define its icon with the 'default_props' key or to have its parent giving it in the props. Now, the icon is retrieved from the props via a getter (same as title and items) and can be overridden to force a fixed icon on the class.
Diffstat (limited to 'addons/web/static/src/js/core/domain.js')
0 files changed, 0 insertions, 0 deletions