Skip to content

Commit e0e2dd6

Browse files
committed
[FIX] account: setting the correct field to search the amount
The search should be possible with the amount of the journal thus the search on the balance field is now feasible task: 5231333 a
1 parent 909ccda commit e0e2dd6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

addons/account/views/account_move_views.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,7 @@
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="[('balance', '=', self)]"/>
329328
<separator/>
330329
<filter string="Unposted" name="unposted" domain="[('parent_state', '=', 'draft')]" help="Unposted Journal Items"/>
331330
<filter string="Posted" name="posted" domain="[('parent_state', '=', 'posted')]" help="Posted Journal Items"/>

0 commit comments

Comments
 (0)