diff --git a/src/ba/bacnv.cpp b/src/ba/bacnv.cpp index 9457504b4..187d6b581 100755 --- a/src/ba/bacnv.cpp +++ b/src/ba/bacnv.cpp @@ -2472,6 +2472,10 @@ void TConversione_archivi::update_righe_doc() r.zero(old_conai_peso[j]); changed = true; } + const TString & sottocat = r.get(conai_sottocat_name(j + 1)); + + if (sottocat.full() && cache().get("&VESCC", sottocat).empty()) + r.zero(conai_sottocat_name(j + 1)); if (r.get(conai_sottocat_name(j + 1)).blank() && r.get(conai_peso_name(j + 1)).full()) {