Skip to content

Commit

Permalink
Merge PR OCA#4193 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by eLBati
  • Loading branch information
OCA-git-bot committed Jun 17, 2024
2 parents de9d1b6 + 4ac648c commit fe67d0d
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit fe67d0d

Please sign in to comment.