[FIX] account: fix account not defined in common tests
Fix a reference to an account that is not defined in Common tests of accounting. closes odoo/odoo#125345 X-original-commit: 13c97c3272be237381d1680116424a46e5e7cb03 Related: odoo/enterprise#42677 Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
This commit is contained in:
@@ -443,7 +443,7 @@ class AccountTestInvoicingCommon(TransactionCase):
|
||||
'debit': -balance if balance < 0.0 else 0.0,
|
||||
'credit': balance if balance > 0.0 else 0.0,
|
||||
'amount_currency': -amount_currency,
|
||||
'account_id': self.revenue_account.id,
|
||||
'account_id': self.company_data['default_account_revenue'].id,
|
||||
'currency_id': currency.id,
|
||||
'partner_id': partner.id if partner else None,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user