[FIX] mis_builder: fix multi-company account display - #790
Merged
Conversation
sbidoul
force-pushed
the
18.0-fix-multicompany-accounts
branch
2 times, most recently
from
May 26, 2026 10:25
a5f48f2 to
6c6c090
Compare
This was referenced May 26, 2026
sbidoul
force-pushed
the
18.0-fix-multicompany-accounts
branch
from
May 26, 2026 10:36
6c6c090 to
7d9e3ff
Compare
sbidoul
force-pushed
the
18.0-fix-multicompany-accounts
branch
4 times, most recently
from
May 26, 2026 11:16
09a343a to
4e9cc67
Compare
Fixes multi-company MIS report issues in Odoo 18: 1. `account.account.company_id` was replaced by `company_ids` (Many2many) in Odoo 18. `_get_account_name` crashed on multi-company reports. 2. `account.code` is now company-dependent (stored in `code_store` jsonb). When viewing a report from a different company context, codes displayed as "False". Fix uses `account.display_name`. 3. Threads `query_companies` through `KpiMatrix` and `prepare_kpi_matrix()` for proper multi-company context resolution. Co-Authored-By: Don Kendall <kendall@donkendall.com>
sbidoul
force-pushed
the
18.0-fix-multicompany-accounts
branch
from
May 26, 2026 14:12
4e9cc67 to
b2e1455
Compare
Member
Author
|
/ocabot merge patch |
Contributor
|
On my way to merge this fine PR! |
Contributor
|
Congratulations, your PR was merged at 2aabb34. Thanks a lot for contributing to OCA. ❤️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #779
fixes #774
supersedes and closes #751
supersedes and closes #756
supersedes and closes #775
supersedes and closes #782
supersedes and closes #789