Sunday, May 10, 2026
1 change · 18.0
Resolved issues and error corrections
This update resolves issues preventing the correct export of general ledger data in CSV format. Specifically, it corrects errors related to integer formatting and inactive currency handling, ensuring reliable reporting for financial data. This improves the accuracy and usability of the general ledger reports.
Original PR description
Follow-up to 8dfe4c0, addressing two issues in `_generate_csv_lazy_export`: 1. `AttributeError: 'int' object has no attribute 'id'` when `col['currency']` is a raw integer on aggregate lines returned by `_get_lines` with `no_format=True`. 2. `KeyError` on `decimal_places_per_cur_id` when a foreign currency account uses an inactive currency. The currency lookup was built with the default `active_test=True`, excluding archived currencies. opw-5994050 Forward-Port-Of: odoo/enterprise#112500