account-financial-reporting
account-financial-reporting copied to clipboard
[IMP][14.0][account_financial_report] Add landscape report option to Open Items
The Open Items report has a lot of information packed into one line. This pull request adds a landscape option to the report for legibility.
I'll see if I can remove the -0.01% of code coverage introduced by this patch.
Hmmm, seems like the actual report generation is not tested at all.
Actually generating a report in the test has bumped code coverage for open_items.py
from 7% to 53%, and ensured that all added code has been tested.
Even more test coverage for open_items.py
. Still no 100% line coverage, but at least all functions seem to be hit by a test now (and because open_items.py deals with a lot of corner cases, a metric buttload of code is needed to reach 100% coverage). Anyway, I'm unlikely to further improve test coverage for this module in the short term.
Frustratingly, these tests worked for me on my system... I'll hunt for the regression and fix it.
@OCA/accounting-maintainers this PR is ready to be merged, anyone else want to review it? If not I proceed with the merge considering the module development_status
is Beta.
Please @driehuis could add some screenshot or mini-video? 🙏