Skip to content

Commit

Permalink
Merge PR #72 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
github-grap-bot committed Jan 6, 2025
2 parents 4552211 + fddb133 commit f041ca9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def propagate_global_account_properties_recursive(self, field_names):

for field_name in field_names:
for category in self:
companies = ResCompany.with_context(active_test=False).search(
companies = ResCompany.with_context().search(
[("fiscal_type", "in", ["normal", "fiscal_mother", "fiscal_child"])]
)
for company in companies:
Expand Down
4 changes: 4 additions & 0 deletions product_category_global_account_setting/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* To avoid bad UX, the global configuration is not set on disabled company.
So if you disable a company, set configuration and enable again the company
the accounting configuration will be bad on that company.
It's a quite theoritical problem, though.

0 comments on commit f041ca9

Please sign in to comment.