Browse Source

[FIX] account_financial_report: Fix tests

Add date to invoice to be able to post
pull/777/head
João Marques 4 years ago
parent
commit
cb3b0d487b
  1. 1
      account_financial_report/tests/test_journal_ledger.py

1
account_financial_report/tests/test_journal_ledger.py

@ -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

Loading…
Cancel
Save