diff --git a/addons/account/tests/test_reconciliation.py b/addons/account/tests/test_reconciliation.py index d04e641f100..e1cd2c627c9 100644 --- a/addons/account/tests/test_reconciliation.py +++ b/addons/account/tests/test_reconciliation.py @@ -890,6 +890,7 @@ class TestReconciliationExec(TestAccountReconciliationCommon): ) payment = self.env['account.payment'].create({ + 'payment_date': time.strftime('%Y') + '-07-15', 'payment_type': 'inbound', 'payment_method_id': self.env.ref('account.account_payment_method_manual_in').id, 'partner_type': 'customer', @@ -1783,6 +1784,7 @@ class TestReconciliationExec(TestAccountReconciliationCommon): inv2 = self.create_invoice(type="out_refund", invoice_amount=400, currency_id=self.currency_usd_id) payment = self.env['account.payment'].create({ + 'payment_date': time.strftime('%Y') + '-07-15', 'payment_method_id': self.inbound_payment_method.id, 'payment_type': 'inbound', 'partner_type': 'customer', @@ -1850,6 +1852,7 @@ class TestReconciliationExec(TestAccountReconciliationCommon): inv2 = self.create_invoice(type="out_refund", invoice_amount=225, currency_id=self.currency_usd_id) payment = self.env['account.payment'].create({ + 'payment_date': time.strftime('%Y') + '-07-15', 'payment_method_id': self.inbound_payment_method.id, 'payment_type': 'inbound', 'partner_type': 'customer',