Skip to content
Snippets Groups Projects
Commit 7c55efa8 authored by IEL's avatar IEL
Browse files

[FIX] *: fix image parsing error on saving res config

WHAT: apply 93a7695f for all res.config.settings
menus

WHY: the same reason as in 93a7695f:

	When saving, a read is called. By default, read has
	bin_size to true to avoid performances issues.
	It will return the image size instead of the content

it may lead to image dissapearing or "Incorrect padding" error

HOW:

    find . -iname "*.xml"|xargs grep "\"context\".*'module'" -l | xargs sed -i "s/\(\"context\".*'module'.*\)\}/\1, 'bin_size': False}/"
    git checkout  -- addons/base_setup/views/res_config_settings_views.xml

---

PR for General Settings: https://github.com/odoo/odoo/pull/47297



opw-2346644

closes odoo/odoo#61037

Related: odoo/enterprise#14495
Signed-off-by: default avatarIvan Yelizariev // IEL <yelizariev@users.noreply.github.com>
parent f1a1cf87
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment