diff --git a/.pylintrc b/.pylintrc index dc6270e15be0c08da00e768a570f27c785d8630e..542c686d3824ecbc48c169d1bf3b146afb2acb70 100644 --- a/.pylintrc +++ b/.pylintrc @@ -8,7 +8,7 @@ manifest_required_authors=Le Filament manifest_required_keys=license manifest_deprecated_keys=description,active license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 -valid_odoo_versions=14.0 +valid_odoo_versions=13.0 [MESSAGES CONTROL] disable=all diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 43ea23947166ff8080219007cfae43ec54a28f8e..74be5fff287bdab1da64e3e5a2ad43a99999e1cc 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -8,7 +8,7 @@ manifest_required_authors=Le Filament manifest_required_keys=license manifest_deprecated_keys=description,active license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 -valid_odoo_versions=14.0 +valid_odoo_versions=13.0 [MESSAGES CONTROL] disable=all diff --git a/__manifest__.py b/__manifest__.py index 00e1c4d5e1d47c4f16098f8175122c1ca3ac9652..9264a36f249d11a1fac6116366c270ea3d56822f 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -6,7 +6,7 @@ "summary": "Gestion de la Facturation ARESCOP National", "author": "Le Filament", "website": "https://www.le-filament.com", - "version": "14.0.1.0.0", + "version": "13.0.1.0.0", "license": "AGPL-3", "depends": ["cgscop_account", "cgscop_cotisation"], "data": [ diff --git a/views/account_move.xml b/views/account_move.xml index 4202fc64f5634ff56fc363f2f70e559592fb97f1..ec855e0760ef9f3e11b13b2438ebe98a024ba088 100644 --- a/views/account_move.xml +++ b/views/account_move.xml @@ -57,22 +57,22 @@ <filter name="unpaid" string="Ouvert" - domain="[('state', '=', 'posted'),('payment_state', '=', 'not_paid')]" + domain="[('state', '=', 'posted'),('invoice_payment_state', '=', 'not_paid')]" /> <filter name="in_payment" string="En Paiement" - domain="[('state', '=', 'posted'),('payment_state', '=', 'in_payment')]" + domain="[('state', '=', 'posted'),('invoice_payment_state', '=', 'in_payment')]" /> <filter name="paid" string="PayƩ" - domain="[('state', '=', 'posted'),('payment_state', '=', 'paid')]" + domain="[('state', '=', 'posted'),('invoice_payment_state', '=', 'paid')]" /> <filter name="late" string="En Retard" - domain="['&', ('invoice_date_due', '<', time.strftime('%%Y-%%m-%%d')), ('state', '=', 'posted'), ('payment_state', 'in', ('not_paid', 'partial'))]" + domain="['&', ('invoice_date_due', '<', time.strftime('%%Y-%%m-%%d')), ('state', '=', 'posted'), ('invoice_payment_state', 'in', ('not_paid', 'partial'))]" help="Overdue invoices, maturity date passed" /> <separator /> @@ -126,10 +126,10 @@ <field name="view_mode">tree,kanban,form,pivot,graph</field> <field name="domain" - >[('move_type','in',('out_invoice', 'out_refund'))]</field> + >[('type','in',('out_invoice', 'out_refund'))]</field> <field name="context" - >{'move_type':'out_invoice', 'journal_type': 'sale'}</field> + >{'type':'out_invoice', 'journal_type': 'sale'}</field> <field name="search_view_id" ref="cgscop_account_arescop.view_account_move_arescop_filter" @@ -138,7 +138,7 @@ <record id="action_invoice_customer_tree" model="ir.actions.act_window.view"> <field eval="1" name="sequence" /> <field name="view_mode">tree</field> - <field name="view_id" ref="account.view_out_invoice_tree" /> + <field name="view_id" ref="account.view_invoice_tree" /> <field name="act_window_id" ref="action_arescop_account_move" /> </record> <record id="action_invoice_customer_form" model="ir.actions.act_window.view">