From 507a87b2f8b8127eb91bba5f43bf04c5decd30e5 Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Fri, 19 May 2023 13:16:36 +0300 Subject: [PATCH] [FIX] contract: show uom only when multi uom is activated before this commit, the unit of measure field is always visible in different views, irrespective of the unit of measure option in the settings. after this commit, the unit of measure field will be shown only if the multi uom feature is activated in the settings. --- contract/views/contract.xml | 4 ++-- contract/views/contract_line.xml | 4 ++-- contract/views/contract_template.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contract/views/contract.xml b/contract/views/contract.xml index 9cc2209f8..7b88d3146 100644 --- a/contract/views/contract.xml +++ b/contract/views/contract.xml @@ -222,7 +222,7 @@ /> - + - + - + - + diff --git a/contract/views/contract_template.xml b/contract/views/contract_template.xml index c4f57f46d..438f00bd7 100644 --- a/contract/views/contract_template.xml +++ b/contract/views/contract_template.xml @@ -44,7 +44,7 @@ - +