Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website: ensure unicity of find
Before odoo@254d40f it was possible that when a user cropped an image using the crop tool, a copy of the original image was created that had both original_id and theme_template_id carried over, therefore find could be multi-record. We strengthen that search by adding original_id=False, which ensures we always fetch the record of the original image and not also its copies. In addition, databases that happen to have this issue of corrupted data will be fixed during an upgrade with odoo/upgrade#3110. closes odoo#82714 X-original-commit: e4bb0cd Signed-off-by: Christophe Simonis <chs@odoo.com>
- Loading branch information