Skip to content

Commit 1ca3ee3

Browse files
committed
[IMP] account: Allow searching on amount in move lines
This commit aims to add the ability for users to search on records with (debit, credit or balance) that matches the search keyword. Task-4908897
1 parent 6819f50 commit 1ca3ee3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/account/views/account_move_views.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@
305305
<field name="name" string="Journal Item" filter_domain="[
306306
'|', '|', '|',
307307
('name', 'ilike', self), ('ref', 'ilike', self), ('account_id', 'ilike', self), ('partner_id', 'ilike', self)]"/>
308+
<field name="debit" string="Amount" filter_domain="[
309+
'|', ('debit', 'ilike', self), ('credit', 'ilike', self)]"/>
308310
<field name="name"/>
309311
<field name="ref"/>
310312
<field name="invoice_date"/>

0 commit comments

Comments
 (0)