Merge PR #790 into 12.0

Signed-off-by pedrobaeza
pull/709/head
OCA-git-bot 2021-07-16 06:47:09 +00:00
commit 9d3bb37692
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ class TestAccountTaxBalance(HttpCase):
self.env['account.move'].create({
'date': Date.context_today(self.env.user),
'journal_id': self.env['account.journal'].search(
[('type', '=', 'bank')], limit=1).id,
[('type', '=', 'bank'),
('company_id', '=', self.env.user.company_id.id)], limit=1).id,
'name': 'Test move',
'line_ids': [(0, 0, {
'account_id': liquidity_account_id,