Monday, October 27, 2025
1 change · 18.0
Resolved issues and error corrections
This fix restores Swedish point-of-sale blackbox validation so orders can be processed correctly under Sweden’s fiscal requirements. It also fixes receipt reprint tracking and corrects organisation number formatting, reducing compliance and operational disruption risks for Swedish POS users.
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