From 02e7d0f47d7220bd5bfdeb5668f6a3378b2127d4 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 12 Nov 2020 14:56:48 +0000 Subject: [PATCH] [IMP] base: restrict decimal precision name changes The names of the decimal precision shouldn't be modified as this field is used as reference in the code. Modifying (e.g. translating) the name of a decimal precision will disable the precision, always using 2 as precision fallback when the specified precision is not found. --- odoo/addons/base/views/decimal_precision_views.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/odoo/addons/base/views/decimal_precision_views.xml b/odoo/addons/base/views/decimal_precision_views.xml index af5b43d4824..6cecca83e93 100644 --- a/odoo/addons/base/views/decimal_precision_views.xml +++ b/odoo/addons/base/views/decimal_precision_views.xml @@ -9,7 +9,7 @@
- + @@ -37,5 +37,3 @@ - -