Skip to content

Commit 39228a2

Browse files
committed
[FIX] account: setting the correct field to search the amount
1 parent 909ccda commit 39228a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/account/views/account_move_views.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@
324324
<field name="tax_ids" />
325325
<field name="tax_line_id" string="Originator Tax"/>
326326
<field name="reconcile_model_id"/>
327-
<field name="amount_currency" string="Amount" filter_domain="[
328-
('amount_currency', '=', self)]"/>
327+
<field name="balance" string="Amount" filter_domain="[
328+
('balance', '=', self)]"/>
329329
<separator/>
330330
<filter string="Unposted" name="unposted" domain="[('parent_state', '=', 'draft')]" help="Unposted Journal Items"/>
331331
<filter string="Posted" name="posted" domain="[('parent_state', '=', 'posted')]" help="Posted Journal Items"/>

0 commit comments

Comments
 (0)