Skip to content

[15.0][ADD] mis_report_account_coverage_check: New module - #821

Closed
carlosdauden wants to merge 1 commit into
OCA:15.0from
Tecnativa:15.0-ADD-mis_report_account_coverage_check
Closed

[15.0][ADD] mis_report_account_coverage_check: New module#821
carlosdauden wants to merge 1 commit into
OCA:15.0from
Tecnativa:15.0-ADD-mis_report_account_coverage_check

Conversation

@carlosdauden

Copy link
Copy Markdown

Wizard that, given a MIS report instance and an account-code range, detects accounts posted to during the report's period(s) that are not referenced by any KPI expression of the report -- e.g. to find why a balance sheet built with mis_builder doesn't balance.

@Tecnativa

ping @sergio-teruel @carlos-lopez-tecnativa @victoralmau

@OCA-git-bot OCA-git-bot added series:15.0 mod:mis_report_account_coverage_check Module mis_report_account_coverage_check labels Jul 24, 2026

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting feature. Please check the CI.

Comment on lines +10 to +11
def setUp(self):
super().setUp()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not in the setUpClass method?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes done.

The reason was to ensure consistency, given that even in version 19.0 ‘setUp’ is used:
https://github.com/OCA/mis-builder/blob/19.0/mis_builder/tests/test_aep.py#L23-L24
but if it doesn't bother anyone, I'm replacing it with our test creation method, which yields better results:

@carlosdauden
carlosdauden force-pushed the 15.0-ADD-mis_report_account_coverage_check branch from 34e21af to 36047d4 Compare July 26, 2026 16:26
Wizard that, given a MIS report instance and an account-code range,
detects accounts posted to during the report's period(s) that are not
referenced by any KPI expression of the report -- e.g. to find why a
balance sheet built with mis_builder doesn't balance.
@carlosdauden
carlosdauden force-pushed the 15.0-ADD-mis_report_account_coverage_check branch from 36047d4 to 32ad72f Compare July 26, 2026 16:55
@sbidoul

sbidoul commented Jul 29, 2026

Copy link
Copy Markdown
Member

Can you move this PR to oca/mis-builder-contrib?

You may also want to have a look at #785 which is almost ready to merge, and seem to address a similar use case.

@carlosdauden

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mis_report_account_coverage_check Module mis_report_account_coverage_check series:15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants