[FIX] account_financial_report: Fix tests

Add date to invoice to be able to post
This commit is contained in:
João Marques
2021-04-28 07:44:17 +01:00
committed by chaule97
parent 0abfff7f16
commit 70ad31174d
21 changed files with 52 additions and 147 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