[FIX] l10n_ke_edi_tremol: To send to TIMS filter

It is important that users are able to filter by invoices that need to
be posted to TIMS

This commit adds that filter in the account move tree view.

closes odoo/odoo#108645

Task-id: 2950308
X-original-commit: e19f0f478331e3c63833e791db42413e5b5a6684
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Daniel Kosky (dako) <dako@odoo.com>
This commit is contained in:
dbkosky
2022-12-26 10:39:13 +01:00
committed by dbkosky
parent f59cea4521
commit 1d97d7f7b0
@@ -50,6 +50,10 @@
<xpath expr="//field[@name='journal_id']" position="after">
<field name="l10n_ke_cu_invoice_number" string="Kenya CU Invoice Number" filter_domain="[('l10n_ke_cu_invoice_number', 'ilike', self')]" />
</xpath>
<xpath expr="//filter[@name='cancel']" position="after">
<separator/>
<filter name="l10n_ke_edi_to_send" string="To Send to TIMS" domain="[('l10n_ke_cu_invoice_number', '=', False), ('state', '=', 'posted'), ('move_type', 'in', ['out_invoice', 'out_refund']), ('country_code', '=', 'KE')]"/>
</xpath>
</field>
</record>
</data>