[FIX] account_financial_report: Fix tests

Add date to invoice to be able to post
pull/777/head
João Marques 2021-04-28 07:44:17 +01:00
parent 7d9d1cb006
commit cb3b0d487b
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ class TestJournalReport(AccountTestInvoicingCommon):
)
move_form.partner_id = self.partner_2
move_form.journal_id = self.journal_purchase
move_form.invoice_date = Date.today()
with move_form.invoice_line_ids.new() as line_form:
line_form.name = "test"
line_form.quantity = 1.0