From 1455697a9068635b36b37b8612107b1f3f2b9493 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 6 Dec 2011 10:26:54 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20level=20=20=20=20=20=20=20=20=20:=2010.?= =?UTF-8?q?0=201178=20Files=20correlati=20=20=20=20=20:=20tp0.exe=20Ricomp?= =?UTF-8?q?ilazione=20Demo=20:=20[=20]=20Commento=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20:=20Ignorate=20unit=C3=A0=20di=20misura=20vuote=20i?= =?UTF-8?q?n=20prersenza=20di=20quantit=C3=A0=20nulle=20(Nuova=20Bienne)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.65.10.50/branches/R_10_00@22518 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- tp/tp0102.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tp/tp0102.cpp b/tp/tp0102.cpp index 7c07fe47c..a86680c17 100755 --- a/tp/tp0102.cpp +++ b/tp/tp0102.cpp @@ -338,7 +338,7 @@ bool TPack_ddt::get_um_qta(TString& um, real& qta) qta = recordset().get(field_qta).as_real(); const bool ok = um.full(); - if (!ok) + if (!ok && !qta.is_zero()) // Segnalo unità di misura errata solo con quantità non nulle { TString msg; msg << TR("Impossibile decodificare l'unità di misura ") << '"' << get_str(field_um) << '"';