• v2.7.2 800d68d341

    niels released this 2026-06-09 23:11:21 +02:00 | 6 commits to main since this release

    Bugfixes

    • Excel formula injection — cell values starting with =, +, -, @ are now prefixed with apostrophe before writing to .xlsx (counterparty, auftrag, artikel fields)
    • Dedup rounding collision — dedup key used round(amount, 0) (integer); CHF 100.40 and CHF 100.49 on the same date collided and one was silently dropped. Now uses round(amount, 2)
    • EUR currency field after conversion — convert_eur() updated total_gross to CHF value but left currency = "EUR". Now correctly sets currency = "CHF" (consistent with USD branch)
    • Credit note amounts clamped to zero — max(0.0, ...) in /confirm prevented users from entering negative amounts for Gutschriften/refunds. Removed from all four confirm paths
    • Legacy .doc format removed — .doc was in ALLOWED_EXT but routed through python-docx, which does not support binary .doc files. Removed from allowed list
    Downloads