Skip to content

Conversation

@david-s73
Copy link

  • The way accounts are collected has been modified, as they were returning ‘NewId’, which meant that filtering was not possible at any point. I check whether the first position is already a ‘NewId’ and, if so, I browse the IDs so that ‘self.account_ids’ is filled in correctly and filtered correctly.

  • The example that it is not filtering is taken from a runboat. As you can see in the screenshots, it does not filter and shows all accounts.

image image
  • Here is an example of how it should look once the filter is working correctly. As you can see in the screenshot, after applying the filter, you can see which accounts will be displayed.
image

@david-s73 david-s73 changed the title [FIX] account_financial_report: Ability to filter by code [18.0][FIX] account_financial_report: Ability to filter by code Nov 25, 2025
The way accounts are collected has been modified, as they were returning ‘NewId’, which meant that filtering was not possible at any point. I check whether the first position is already a ‘NewId’ and, if so, I browse the IDs so that ‘self.account_ids’ is filled in correctly and filtered correctly.
@david-s73 david-s73 force-pushed the 18.0-fix-account_financial_report_filter_accounts branch from a50a1df to 6b350bf Compare November 25, 2025 10:57
Copy link
Contributor

@Reyes4711-S73 Reyes4711-S73 left a comment

Choose a reason for hiding this comment

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

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@Reyes4711-S73
Copy link
Contributor

@OCA/accounting-maintainers Please, can you review/merge this PR?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants