diff --git a/account_payment_order/tests/test_payment_order_outbound.py b/account_payment_order/tests/test_payment_order_outbound.py index 50de54b2a..b49a2a53a 100644 --- a/account_payment_order/tests/test_payment_order_outbound.py +++ b/account_payment_order/tests/test_payment_order_outbound.py @@ -4,6 +4,7 @@ from datetime import date, datetime, timedelta +from odoo import fields from odoo.exceptions import UserError, ValidationError from odoo.tests.common import TransactionCase @@ -48,6 +49,7 @@ class TestPaymentOrderOutbound(TransactionCase): "payment_mode_id": self.env.ref( "account_payment_mode.payment_mode_outbound_ct1" ).id, + "invoice_date": fields.Date.today(), "invoice_line_ids": [ ( 0,