[FIX] account: wrong journal in test_match_multi_currencies
A move with type 'entry' cannot be posted in a 'sales' journal. It should be the default 'miscellaneous' journal instead. closes odoo/odoo#66851 X-original-commit: 1c45685922b5561b8bce1c91b158184837391089 Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Alex Tuyls <alt-odoo@users.noreply.github.com>
This commit is contained in:
@@ -743,7 +743,7 @@ class TestReconciliationMatchingRules(AccountTestInvoicingCommon):
|
||||
move = self.env['account.move'].create({
|
||||
'move_type': 'entry',
|
||||
'date': '2017-01-01',
|
||||
'journal_id': self.company_data['default_journal_sale'].id,
|
||||
'journal_id': self.company_data['default_journal_misc'].id,
|
||||
'line_ids': [
|
||||
# Rate is 2 GOL = 1 USD in 2017.
|
||||
# The statement line will consider this line equivalent to 600 DAR.
|
||||
|
||||
Reference in New Issue
Block a user