Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] product_category_global_account_setting: Do not deploy setting … #72

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading