Skip to content

Commit

Permalink
Merge PR #4216 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by francesco-ooops
  • Loading branch information
OCA-git-bot committed Jul 5, 2024
2 parents 55e4c1c + ec73482 commit 0ccda2c
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 @@ -46,6 +46,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
revenue_acctype_id = self.env.ref("account.data_account_type_revenue").id
Expand Down

0 comments on commit 0ccda2c

Please sign in to comment.