From ccb1986a266149c4303ea8b14210740f82d56e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roc=C3=ADo=20Vega?= Date: Fri, 23 May 2025 14:08:51 -0300 Subject: [PATCH] [FIX] account_invoice_commisson: Hide commission_amount column when not in commission context Added the 'column_invisible' attribute to the commission_amount field in the invoice_line_ids list view. This ensures that the entire column is hidden when the context does not include 'commissioned_partner_id'. Previously, only the cell values were hidden but the column header remained visible. --- account_invoice_commission/__manifest__.py | 2 +- account_invoice_commission/views/account_move_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_invoice_commission/__manifest__.py b/account_invoice_commission/__manifest__.py index 323a7340..5301b59b 100644 --- a/account_invoice_commission/__manifest__.py +++ b/account_invoice_commission/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { "name": "Commission Invoices", - "version": "18.0.1.1.0", + "version": "18.0.1.2.0", "category": "Accounting", "sequence": 14, "summary": "", diff --git a/account_invoice_commission/views/account_move_view.xml b/account_invoice_commission/views/account_move_view.xml index 8caf8e58..8964a82e 100644 --- a/account_invoice_commission/views/account_move_view.xml +++ b/account_invoice_commission/views/account_move_view.xml @@ -19,7 +19,7 @@ - +