[FIX] account_financial_report: allow navigation on all fields

Pass res_id correctly to lines to allow navigation on the fields

In the open items ledger, the res_id attribute of the invoice
in the report was getting: (id, move_name)
The result was that, when clicking the line, it would redirect
to a new record, instead of the existing.
This passes only the id to the line, solving that issue.

Fix menu item name

TT29371
This commit is contained in:
João Marques
2021-04-27 07:06:31 +01:00
committed by chaule97
parent 970f614aac
commit 0abfff7f16
3 changed files with 25 additions and 6 deletions

View File

@@ -88,7 +88,7 @@
</field>
</record>
<record id="action_open_items_wizard" model="ir.actions.act_window">
<field name="name">Open Itemsr</field>
<field name="name">Open Items</field>
<field name="res_model">open.items.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="open_items_wizard" />