Malin 3b167cd396 fix: drop read_only=True to avoid openpyxl dimension truncation
openpyxl in read_only mode stops iterating at the sheet's cached <dimension ref>
attribute in the XML. If MTZ extended the Excel beyond the original row range,
those rows were silently ignored (hence always ~4000 products regardless of the
real count). Removing read_only=True forces openpyxl to read all actual data rows.
The file is already in BytesIO so there is no I/O penalty.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 20:51:08 +01:00
Description
No description provided
36 KiB
Languages
Python 95.3%
Dockerfile 4.7%