Wednesday, October 18, 2023
2 changes
Code cleanup and technical improvements
This update aligns several Point of Sale localization and messaging modules with a simplified receipt printing structure. It is an internal cleanup that helps keep receipt printing compatible and easier to maintain, with no expected change to daily POS workflows.
Original PR description
pos*: - `l10n_cl_edi_pos` - `l10n_de_pos_cert` - `pos_l10n_se` - `whatsapp_pos` In the corresponding community pr we simplify the pos receipt. Among other changes, the receipt is not a component instead of a simple template. It thus takes `props`. In this commit we change the references to the old environment variable to references to the new props. Community PR: https://github.com/odoo/odoo/pull/137397 Task link: https://www.odoo.com/web#model=project.task&id=3547597 Task: 3547597
This update replaces older date and time handling with newer shared utilities across several Odoo areas. It helps keep the platform easier to maintain while preserving expected behavior for users working with documents, barcode flows, and VoIP-related activity data.
Original PR description
The purpose of this commit is to delete the legacy/js/core/time.js file. We have therefore replaced all calls to time.js with the l10N/date.js utilities. Part of task 3439226