From b2cda5e522979f8bc95ec1075b7b219bce3c6dce Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 15 Feb 2019 00:13:34 +0100 Subject: [PATCH] account_usability: remove access to form view of invoice lines via dedicated action until we have a proper readonly system for non-draft invoices --- account_usability/account_view.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/account_usability/account_view.xml b/account_usability/account_view.xml index 066fb49..b11b8ad 100644 --- a/account_usability/account_view.xml +++ b/account_usability/account_view.xml @@ -148,7 +148,7 @@ module --> Customer Invoice Lines account.invoice.line - tree,form + tree [('invoice_type', '=', 'out_invoice')] {'show_invoice_fields': True} @@ -156,7 +156,7 @@ module --> Customer Refund Lines account.invoice.line - tree,form + tree [('invoice_type', '=', 'out_refund')] {'show_invoice_fields': True} @@ -164,7 +164,7 @@ module --> Customer Invoice Lines account.invoice.line - tree,form + tree [('invoice_type', 'in', ('out_invoice', 'out_refund'))] {'show_invoice_fields': True} @@ -172,7 +172,7 @@ module --> Supplier Invoice Lines account.invoice.line - tree,form + tree [('invoice_type', '=', 'in_invoice')] {'show_invoice_fields': True} @@ -180,7 +180,7 @@ module --> Supplier Refund Lines account.invoice.line - tree,form + tree [('invoice_type', '=', 'in_refund')] {'show_invoice_fields': True} @@ -188,7 +188,7 @@ module --> Supplier Invoice Lines account.invoice.line - tree,form + tree [('invoice_type', 'in', ('in_invoice', 'in_refund'))] {'show_invoice_fields': True}