From f05b06af0ef5e20c44d25b867e6f1855ced22bd8 Mon Sep 17 00:00:00 2001 From: Quentin Dupont Date: Fri, 2 Jan 2026 11:01:33 +0100 Subject: [PATCH 1/2] [16.0][IMP] account_invoice_supplierinfo_update Hide Supplier infos for Customer invoices --- .../views/account_invoice_view.xml | 2 +- .../wizard/wizard_update_invoice_supplierinfo.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/account_invoice_supplierinfo_update/views/account_invoice_view.xml b/account_invoice_supplierinfo_update/views/account_invoice_view.xml index 75e75e7afb6..f480de1e41b 100644 --- a/account_invoice_supplierinfo_update/views/account_invoice_view.xml +++ b/account_invoice_supplierinfo_update/views/account_invoice_view.xml @@ -11,7 +11,7 @@ help="Check if the invoice information are similar from the supplier information" class="oe_highlight" type="object" - attrs="{'invisible': ['|', ('supplierinfo_ok', '=', True), ('partner_id', '=', False)]}" + attrs="{'invisible': ['|', '|', ('supplierinfo_ok', '=', True), ('partner_id', '=', False), ('move_type', 'not in', ['in_invoice', 'in_refund'])]}" /> diff --git a/account_invoice_supplierinfo_update/wizard/wizard_update_invoice_supplierinfo.xml b/account_invoice_supplierinfo_update/wizard/wizard_update_invoice_supplierinfo.xml index 4a7b6870874..dc10c6d233d 100644 --- a/account_invoice_supplierinfo_update/wizard/wizard_update_invoice_supplierinfo.xml +++ b/account_invoice_supplierinfo_update/wizard/wizard_update_invoice_supplierinfo.xml @@ -67,7 +67,6 @@ confirm="Do you want to set invoice as checked ?" help="This will mark the invoice as checked. It will be possible to uncheck manually in the 'Other Info' tab." /> - or