Merge PR #2742 into 12.0

Signed-off-by dreispt
pull/2828/head
OCA-git-bot 2024-03-09 15:20:59 +00:00
commit 705a038efa
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<templates xml:space="preserve">
<t t-name="FieldImageURL">
<span class="oe_form_field oe_form_field_image" t-att-style="widget.attrs.style">
<img t-att-src="widget.url()"
<img class="img img-fluid" t-att-src="widget.url()"
t-att-style="(!widget.readonly ? 'border: 0' : 'border: 1')"
t-att-name="widget.name"
t-att-width="widget.attrs.img_width || widget.attrs.width"