Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] product: image changes not sticking everywhere
Fixes odoo#20046 Simply reverting e5ef1c5 looks to work *but* since I didn't note the repro case for the issue and don't remember what it was it may re-introduce previous breakage. Instead, ensure all "sizes" for the image are reset if any of the sizes is present *and* Falsy by adding a final case to the conditional. If any of the image fields is present and non-falsy one of the previous branches will be taken, so we can just check that any of the image fields is present at all (this implies it's falsy).
- Loading branch information