Skip to content

Commit

Permalink
[FIX][l10n_it_ricevute_bancarie] fix issue OCA#3216 and add depens fr…
Browse files Browse the repository at this point in the history
…om account_due_list
  • Loading branch information
matteoopenf committed May 30, 2023
1 parent c0ce8b4 commit 7ae8a5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
1 change: 1 addition & 0 deletions l10n_it_ricevute_bancarie/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"license": "AGPL-3",
"depends": [
"account",
"account_due_list",
"l10n_it_fatturapa_out",
"l10n_it_fiscalcode",
"base_iban",
Expand Down
29 changes: 7 additions & 22 deletions l10n_it_ricevute_bancarie/views/account_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,18 @@
<record id="riba_filter" model="ir.ui.view">
<field name="name">C/O filter</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account_due_list.view_payments_filter" />
<field name="arch" type="xml">
<search string="Search Journal Items">
<xpath expr="//search" position="inside">
<separator />
<filter
name="da_emettere"
string="To Issue"
string="RIBA To Issue"
domain="[('distinta_line_ids', '=', False)]"
/>
<filter
name="emesse"
string="Issued"
string="RIBA Issued"
domain="[('distinta_line_ids', '!=', False)]"
/>
<filter
Expand All @@ -94,30 +96,13 @@
string="To Reconcile"
domain="[('reconciled', '=', False)]"
/>
<separator />
<filter
name="unsolved"
string="Past Due"
domain="[('unsolved_invoice_ids', '!=', False)]"
/>
<filter
name="sale_journal"
string="Sale Journals"
domain="[('journal_id.type', '=', 'sale')]"
/>
<field name="account_id" />
<field name="partner_id" />
<field name="move_id" />
<!-- TODO: field name="invoice_origin"/-->
<field name="date_maturity" />
<group expand="0" string="Group By...">
<filter
name="filter_customer"
string="Group By Customer"
context="{'group_by':'partner_id'}"
/>
<!-- <filter name="filter_invoice" string="Group By Invoice" context="{'group_by':'stored_invoice_id'}"/> Matteo Boscolo-->
</group>
</search>
</xpath>
</field>
</record>

Expand Down

0 comments on commit 7ae8a5d

Please sign in to comment.