OCA / web

Odoo web client UI related addons
GNU Affero General Public License v3.0
912 stars 1.86k forks source link

[12.0] web_widget_image_url: add html class to img as standard the standard widget #2742

Closed yvaucher closed 6 months ago

yvaucher commented 7 months ago

Add html class to the widget in order to behave the same as FieldBinaryWidget-img. This allows to respect the colspan rules and contains large images without breaking the view.

Same as: https://github.com/odoo/odoo/blob/12.0/addons/web/static/src/xml/base.xml#L953C9-L953C31

Before: Screenshot from 2024-02-08 16-57-40

After: Screenshot from 2024-02-08 16-58-29

OCA-git-bot commented 6 months ago

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

dreispt commented 6 months ago

/ocabot merge minor

OCA-git-bot commented 6 months ago

On my way to merge this fine PR! Prepared branch 12.0-ocabot-merge-pr-2742-by-dreispt-bump-minor, awaiting test results.

OCA-git-bot commented 6 months ago

Congratulations, your PR was merged at 8fb7e7d036a999bb133a03be498de137dcaede9c. Thanks a lot for contributing to OCA. ❤️