Skip to content

Commit

Permalink
[FIX] account: display journal entries total
Browse files Browse the repository at this point in the history
Steps to reproduce
==================

- Go to Accounting > Accounting > Journal Entries

The total at the bottom is not displayed and there is a `-` instead.

Cause of the issue
==================

The `amount_total_signed` field uses the currency_field
`company_currency_id`.
It should be present in the view for the web client to be aware of it's
value.

opw-3316448

closes odoo#125639

X-original-commit: eaec9f7
Signed-off-by: William André (wan) <wan@odoo.com>
  • Loading branch information
hubvd committed Jun 19, 2023
1 parent 0a89e70 commit 9d48733
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/account/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
<field name="model">account.move</field>
<field name="arch" type="xml">
<tree string="Journal Entries" sample="1" decoration-info="state == 'draft'" expand="context.get('expand', False)">
<field name="company_currency_id" invisible="1"/>
<field name="made_sequence_hole" invisible="1"/>
<field name="date"/>
<field name="name" decoration-danger="made_sequence_hole"/>
Expand Down

0 comments on commit 9d48733

Please sign in to comment.