Daily updates from Odoo
Thursday, October 17, 2024
2 changes · master
Resolved issues and error corrections
This update simplifies how the system checks and opens files inside zipped documents such as spreadsheets and Mexican e-invoicing downloads. It avoids relying on internal software details, making these tests and related file handling more reliable over time.
Original PR description
Checking the filelist size before checking for existence based on `NamedToInfo` is unnecessarily convoluted, we can just compare the list of expected filenames to the `namelist()`. And using entry positions to open them is pretty much insane, just address the files by name, that's both clearer and more reliable. *Technically* for xlsx files we should probably go through `[Content_Types].xml` to retrieve the actual path to the shared strings file, but accessing that file directly is already an improvement I think.
Manufacturing orders created from the Barcode app now use the correct scanned manufacturing operation type. The Barcode app also shows manufacturing work that is ready and still to do, helping users access the right orders more reliably.
Original PR description
In this commit: ================== - replace the domain that applied when we enter the manufacturing operation type from the barcode application to domain 'To Do and MO ready'. task-3925741