Skip to content

Commit 314eb6e

Browse files
committed
[IMP] account: Quick search on an amount in the journal items
New behavior: User can search on journal items based on the amount. The search is based on the balance field, so we ignore the sign
1 parent 6819f50 commit 314eb6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/account/views/account_move_views.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@
323323
<field name="tax_ids" />
324324
<field name="tax_line_id" string="Originator Tax"/>
325325
<field name="reconcile_model_id"/>
326+
<field name="balance" string="Amount" filter_domain="['|', ('balance', '=', self), ('balance', '=', -self)]"/>
326327
<separator/>
327328
<filter string="Unposted" name="unposted" domain="[('parent_state', '=', 'draft')]" help="Unposted Journal Items"/>
328329
<filter string="Posted" name="posted" domain="[('parent_state', '=', 'posted')]" help="Posted Journal Items"/>

0 commit comments

Comments
 (0)