Monday, September 29, 2025
4 changes · 17.0
Enhancements to existing features
Belgian POS fiscal blackbox devices are now read more efficiently to avoid delays caused by repeated serial port timeouts. The update also improves device detection and buffer handling, reducing the risk that a blackbox is mistaken for another connected device.
Original PR description
This commit is a backport of some parts of odoo/enterprise#93614. The goal is to ensure that we don't read too many different times from the serial port, as each read has a timeout of 3 seconds: if 2 read fail, we exceed the longpolling's timeout. We then backport the `read_until(char)` instead of `read(n)` allowing us to read not more than once (except for the lrc, which is read only if first read is successful). We also backport the supported retry, which ensures we detect a blackbox when we plug one (prevent detecting it as an Adam Scale), and correctly flush buffers after writing/reading. Task: 5116854
Resolved issues and error corrections
Uploaded files added to field service worksheet templates are now shown when the worksheet is opened for portal signing. This prevents missing attachments in customer-facing reports and ensures technicians' uploaded files remain visible during the signing process.
Original PR description
Steps to reproduce: ------- - Install industry_fsm_report module - Open FSM app - Select worksheets from settings in the configuration - Go to worksheet templates in the configuration - Create a worksheet template - Click the design template button. You arrive in the studio - Add file field and close it - Create a new task and select a newly created template in the worksheet template - Click the worksheet button in the control panel - Upload a file and save it - Click on the sign report button - Here file field is not visible Issue: ------- The file field is not visible in the worksheet portal. Cause: ------ The view of the file field is not created for the worksheet portal. Solution: ------- Created the view of the file field to display in the worksheet portal. task-3691529
This fix ensures appointment calendar events correctly include the resources selected through booking lines. It helps staff see the right rooms, equipment, or people tied to an appointment, reducing scheduling confusion.
Original PR description
PR IN PROGRESS.. opw-4565161
Stripe payments now handle currencies such as the Ugandan shilling correctly when their decimal rules differ from Odoo's general currency settings. This prevents valid customer payments from being rejected or sent with the wrong amount.
Original PR description
Steps: - Activate the 'UGX' currency. - Make a sale order with amount 100 with 'UGX' currency - Try to pay that order (100 USh) using card Issue: - stripe throws the following error - > 'The Checkout Session's total amount must convert to at least 50 cents. 1.00 USh converts to approximately €0.00.' - Hence 100 USh sent was identified as 1 USh by stripe. This confirms issue with decimals and currency mapping. Cause: - 'UGX' is zero-decimal currency but stripe identify it as two-decimal. Fix: - Update mapping for such special currency cases for stripe that don't follow general rules opw-5075707