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

[FIX] l10n_it_bill_of_entry: Gestione del multi-azienda nei test #4193

Merged
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
4 changes: 4 additions & 0 deletions l10n_it_bill_of_entry/tests/test_bill_of_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ def setUp(self):
demo_data_company = self.env.ref("base.main_company")
self.env.user.company_ids |= demo_data_company
self.env.user.company_id = demo_data_company
# Now that current user can access the company,
# log the user *only* in this company so that
# searching, reading and other operations behave as expected
self.env.user.company_ids = demo_data_company

# Default accounts for invoice line account_id
self.account_revenue = self.account_model.search(
Expand Down
Loading