Daily updates from Odoo
Wednesday, June 18, 2025
1 change · master
New functionality added to Odoo
Event badge printing is now handled through a dedicated IoT integration, making printer-specific setup cleaner and easier to maintain. Badge templates were also moved to XML, which should make customization simpler for businesses that adapt badges for their events.
Original PR description
See odoo/odoo#203274 This commit contains 2 related changes: - The badge printing functionality that was previously part of the `event` module has now been moved to a new `event_iot` bridge module. - The badge printer report template has been rewritten to use XML rather than the `esc_label_tools.py` python helper. This will allow for easier customisation. This commit also adds `pos_event_iot` and `event_sale_iot` bridge modules; these are very small and only needed for IoT specific overrides that used to be contained in `pos_event` and `event_sale` respectively. While the majority of badge printing related python code has been removed, there are still two functions, `load_image` and `escape`, that are accessible via a custom report model. task-4193378