diff --git a/account_financial_report/report/open_items.py b/account_financial_report/report/open_items.py index 6383dbd4..6e6702fc 100644 --- a/account_financial_report/report/open_items.py +++ b/account_financial_report/report/open_items.py @@ -278,6 +278,7 @@ class OpenItemsReport(models.AbstractModel): "ref_label": ref_label, "journal_id": move_line["journal_id"][0], "move_name": move_line["move_id"][1], + "entry_id": move_line["move_id"][0], "currency_id": move_line["currency_id"][0] if move_line["currency_id"] else False, diff --git a/account_financial_report/report/templates/open_items.xml b/account_financial_report/report/templates/open_items.xml index 4dc057b9..ddefc297 100644 --- a/account_financial_report/report/templates/open_items.xml +++ b/account_financial_report/report/templates/open_items.xml @@ -179,7 +179,7 @@
@@ -188,16 +188,34 @@
- + + +
- + + +
- - + + +
diff --git a/account_financial_report/tests/test_journal_ledger.py b/account_financial_report/tests/test_journal_ledger.py index 5ebd3abb..e9b642d2 100644 --- a/account_financial_report/tests/test_journal_ledger.py +++ b/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 diff --git a/account_financial_report/wizard/open_items_wizard_view.xml b/account_financial_report/wizard/open_items_wizard_view.xml index d8ea48c7..144072c1 100644 --- a/account_financial_report/wizard/open_items_wizard_view.xml +++ b/account_financial_report/wizard/open_items_wizard_view.xml @@ -88,7 +88,7 @@ - Open Itemsr + Open Items open.items.report.wizard form