Wednesday, October 29, 2025
1 change · saas-18.2
Resolved issues and error corrections
This fix restores Swedish POS blackbox validation so orders are properly processed under the current POS synchronization flow. It also fixes receipt reprint tracking and corrects the organization number format, helping Swedish businesses stay compliant and avoid checkout disruptions.
Original PR description
Before this commit, the Swedish blackbox was completely broken in 18.0 because the `push_single_order` function is no longer used. To fix this, the same approach as `pos_blackbox_be` was used, where the `preSyncAllOrders` function was overridden instead. In addition, the old receipt reprinting logic was no longer working, and so it now uses the `nb_print` field to keep track of the number of reprints. Finally, we also forward port a fix from 17.0 (ddbc1fc) to correct the format of the organisation number, which for some reason was not forward ported originally. task-5077448 Forward-Port-Of: odoo/enterprise#98139