Daily updates from Odoo
Tuesday, July 16, 2024
2 changes · master
Code cleanup and technical improvements
Phone number validation and formatting utilities are being moved into a shared toolkit so more parts of Odoo can use them without installing the full phone validation app. This helps website features reuse existing phone formatting logic while keeping dependencies lighter and more focused.
Original PR description
This commit has for main purpose to make available the phone_validation tools for every module without needed to depends on phone_validation odoo module. We do that so website can implement phone formatting based on already known dependencies we have in backend without depending on the whole phone_validation module which would be out of scope for the website feature. task-3700790
Miscellaneous changes
Before this commit, when you drag and drop a resizeable sign item from one page to another, it was not possible to resize the item: it was buggy because the updated sign item changed the page and the resize function had the old object binded to it. After this commit, it is possible resizing the sign items when clicking the border without any problems, from any page. This was obtained by re-binding the updated sign item to the resize function. task-4032512 Forward-Port-Of: odoo/enterprise#
Original PR description
Before this commit, when you drag and drop a resizeable sign item from one page to another, it was not possible to resize the item: it was buggy because the updated sign item changed the page and the resize function had the old object binded to it. After this commit, it is possible resizing the sign items when clicking the border without any problems, from any page. This was obtained by re-binding the updated sign item to the resize function. task-4032512 Forward-Port-Of: odoo/enterprise#65990