Open aleuffre opened 2 years ago
Hello, we have worked on this topic for the 15.0.
The current results are:
For your information, we will need to change the current implementation because of performance issues. The main issue is the following:
To fix it I think we will need to:
api.depends
to trigger the update of the field when there is a new rule matching a change into the rulesThe main issue I see is the potential "lot of updates" that we could have if we change any rule.
Since Odoo 13.0, the fields image, image_medium and image_small have been renamed/changed to image_1920, image_1024, image_512, image_256 and image_128 (and moved to the abstract model "image.mixin")
It'd be extremely useful, if only for consistency and ease of use with existing modules and existing views, if both modules were updated to match the new names used across Odoo.
(It appears that product_multi_image from the repo product-attribute already had to deal with the issue. See for example https://github.com/OCA/product-attribute/pull/857 )