From 3a0af6af7b5a67dfb1ed196bd3e5da41c1dfa57a Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 9 Oct 2014 13:37:06 +0200 Subject: [PATCH] [FIX] product.uom: safer handling of factor/factor_inv in UI Add readonly attribute to avoid sending both factor and factor_inv value to the backend when saving. This was possible if the user switched between uom_type to fill the two fields. --- addons/product/product_view.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 7b4539e7dd3..a59a77c1357 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -421,8 +421,14 @@