Skip to content

Commit

Permalink
[ADD] account_ux: Add in filter paid from invoice the reversed state
Browse files Browse the repository at this point in the history
closes #490

Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>
  • Loading branch information
rov-adhoc committed Feb 16, 2024
1 parent 1103b76 commit 907a6d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion account_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Account UX',
'version': "16.0.1.5.0",
'version': "16.0.1.6.0",
'category': 'Accounting',
'sequence': 14,
'summary': '',
Expand Down
5 changes: 5 additions & 0 deletions account_ux/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ msgstr "Conciliaciones Parciales"
msgid "Partner"
msgstr "Empresa"

#. module: account_ux
#: model_terms:ir.ui.view,arch_db:account_ux.view_account_invoice_filter
msgid "Paid"
msgstr "Pagado"

#. module: account_ux
#. odoo-python
#: code:addons/account_ux/models/account_move.py:0
Expand Down
3 changes: 3 additions & 0 deletions account_ux/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
<field name="partner_id" position="before">
<field name="company_id" groups="base.group_multi_company"/>
</field>
<xpath expr="//filter[@name='closed']" position="replace">
<filter name="closed" string="Paid" domain="[('state', '=', 'posted'), ('payment_state', 'in', ('in_payment', 'paid','reversed'))]"/>
</xpath>
<xpath expr="//group/filter[@name='salesperson']" position="before">
<filter name="partner_id" string="Partner" context="{'group_by':'partner_id'}"/>
<filter name="journal_id" string="Journal" context="{'group_by':'journal_id'}"/>
Expand Down

0 comments on commit 907a6d2

Please sign in to comment.