Skip to content

Commit 8ad7589

Browse files
committed
[IMP] account: added sent status filter and list view
1 parent 67b038e commit 8ad7589

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

addons/account/views/account_move_views.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@
549549
invisible="payment_state == 'invoicing_legacy' or move_type == 'entry'"
550550
optional="show"
551551
/>
552+
<field name="is_move_sent"
553+
string="Sent Status"
554+
optional="hide"/>
552555
<field name="move_type" column_invisible="context.get('default_move_type', True)"/>
553556
<field name="abnormal_amount_warning" column_invisible="1"/>
554557
<field name="abnormal_date_warning" column_invisible="1"/>
@@ -1595,10 +1598,15 @@
15951598
groups="account.group_account_secured,base.group_no_one"/>
15961599
<separator/>
15971600
<filter name="not_sent"
1598-
string="Not Sent"
1601+
string="Not Sent invoices"
15991602
domain="[('is_move_sent', '=', False)]"
16001603
invisible="context.get('default_move_type') in ('in_invoice', 'in_refund', 'in_receipt')"
16011604
/>
1605+
<filter name="sent"
1606+
string="Sent invoices"
1607+
domain="[('is_move_sent', '=', True)]"
1608+
invisible="context.get('default_move_type') in ('in_invoice', 'in_refund', 'in_receipt')"
1609+
/>
16021610
<separator/>
16031611
<filter name="out_invoice"
16041612
string="Invoices"

0 commit comments

Comments
 (0)