Commit[1] implemented a way to output an image as its raw representation
`<img src="data:image/png;base64......." />`
It is useful for integrating an image of a record not accessible publicly.
However the original commit forgot to allow the img node to handle the options
passed to the field. Classes in particular were absent
After this commit, the options are handled correctly, and the image in raw mode
has the right classes.
opw-3517861
[1]: f8b901d04b
closes odoo/odoo#151410
X-original-commit: dbb22351921629aad845e29ebfa8b4083b4e745a
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
26 lines
751 B
Python
26 lines
751 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_db_manager
|
|
from . import test_health
|
|
from . import test_image
|
|
from . import test_ir_model
|
|
from . import test_js
|
|
from . import test_menu
|
|
from . import test_click_everywhere
|
|
from . import test_base_document_layout
|
|
from . import test_load_menus
|
|
from . import test_partner
|
|
from . import test_profiler
|
|
from . import test_session_info
|
|
from . import test_read_progress_bar
|
|
from . import test_assets
|
|
from . import test_assets_xml
|
|
from . import test_login
|
|
from . import test_web_search_read
|
|
from . import test_domain
|
|
from . import test_translate
|
|
from . import test_web_redirect
|
|
from . import test_res_users
|
|
from . import test_webmanifest
|
|
from . import test_ir_qweb
|