Tuesday, September 30, 2025
3 changes · saas-18.3
Resolved issues and error corrections
This update improves how Odoo communicates with Belgian POS blackbox devices, reducing delays caused by repeated failed reads from the serial port. It also improves device detection and retry handling so a newly connected blackbox is recognized more reliably and communication buffers are kept clean.
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 Forward-Port-Of: odoo/enterprise#95755 Forward-Port-Of: odoo/enterprise#95635
OSS tax reports can now open correctly when a fiscal position uses a country group, such as Mainland Spain, instead of a single country. This helps businesses report EU OSS taxes for regions like Spain and the Canary Islands without report access errors.
Original PR description
To be able to deal with Spain with Canary Islands and mainland, we have a country group that is Mainland Spain VAT, with Spain minus several states (Canary basically). People want to be able to use it for OSS. But currently, if you have an entry with a tax with a fp with this country group (and no country), you can't open your OSS Report. So take the countries of the country group if there is none in the fiscal position.
This update prevents errors when multiple employees are clocked in on the same Belgian POS. Sales and session closing can now continue normally in this scenario, reducing disruption for store staff.
Original PR description
- Fix traceback when trying to sell a product with multiple employees clocked in on the same POS. - Fix traceback when trying to close a session with multiple employees clocked in. task-id: 4902090 Forward-Port-Of: odoo/enterprise#93273