[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user