Daily updates from Odoo
Friday, February 20, 2026
1 change · saas-19.2
Code cleanup and technical improvements
This update refactors how HTML snippet background colors are calculated, focusing on performance and future flexibility. The change utilizes a new resource to determine which snippets connect, streamlining the process and preparing for a planned move of the visibility plugin. This ensures more efficient and reliable background updates for HTML snippets.
Original PR description
Commit e591ea77f4a800bf79cb19f80529eed0d8ded927 added the recomputation of shape colors based on background of sibling snippets. This computation needs to ignore (among other things) the snippets that can be invisible. And used a new shared function of the visibility plugin. This commit instead uses a resource, as we are planning to move the visibility plugin to the website module; and implements the loop to search for the sibling only once. task-5149984