summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-05-29 12:57:35 +0000
committerYannick Tivisse <yti@odoo.com>2019-06-26 06:56:17 +0000
commit83aaea9e5ce92530875e4fca606a89fe423803ef (patch)
tree91dd20e5ea2087d4ddf1daa3d1d954de3490517f /addons/web/static/src/js/fields/relational_fields.js
parent2f34aea5289c020a240b33d2c9767baca806d59b (diff)
[IMP] base: Add option on image widget to enable zoom
Purpose ======= As the employee picture on a form view is often too small, it should be possible to zoom on it like for products in eCommerce. Specification ============= Added new bool options on FieldBinaryImage: `zoom` and `background`. `zoom` will call zoomOdoo.js and display a popup with the zoomed out image. `background` is used to either display the image as a div element with a background-url (to be used e.g. in a kanban view) or as a standard img element. closes odoo/odoo#33839 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions