diff --git a/src/ve/veacc.rep b/src/ve/veacc.rep
index 0542d2882..2539ffd1b 100755
--- a/src/ve/veacc.rep
+++ b/src/ve/veacc.rep
@@ -437,7 +437,7 @@ MESSAGE ENABLE,51
MESSAGE _ALIGN,#52,BOTTOM
- 34.IMPNS
+ 34.IMPONIBILE
MESSAGE _ALIGN,#52,BOTTOM
diff --git a/src/ve/vecnford.rep b/src/ve/vecnford.rep
index 1cbd5574b..92c2a21ff 100755
--- a/src/ve/vecnford.rep
+++ b/src/ve/vecnford.rep
@@ -384,7 +384,7 @@ MESSAGE ENABLE,51
29
- 34.IMPNS
+ 34.IMPONIBILE
MESSAGE _ALIGN,#52,TOP
diff --git a/src/ve/vefat.rep b/src/ve/vefat.rep
index 9fc8ede55..7b40f588f 100755
--- a/src/ve/vefat.rep
+++ b/src/ve/vefat.rep
@@ -359,7 +359,7 @@ MESSAGE ENABLE,51
29
- 34.IMPNS
+ 34.IMPONIBILE
MESSAGE _ALIGN,#52,BOTTOM
diff --git a/src/ve/velib02.cpp b/src/ve/velib02.cpp
index 0b2b507e5..db6cebab7 100755
--- a/src/ve/velib02.cpp
+++ b/src/ve/velib02.cpp
@@ -84,7 +84,11 @@ void TTipo_riga_documento::read_formule()
_no_desc = profile.get_bool("NODESC");
_formule = profile.get("CAMPICALC");
_extended_desc_search = ini_get_bool(CONFIG_DITTA, "Main", "CUSTOM_SEARCH_" TOSTRING(LF_ANAMAG), false, 2);
- const TString& calcoli = profile.get("CALCOLI");
+
+ TString calcoli = profile.get("CALCOLI");
+
+ if (!is_descrizione() && calcoli.blank())
+ calcoli = "*";
if (calcoli == "*")
{
TISAM_recordset frr("USE %FRR");
diff --git a/src/ve/velib03a.cpp b/src/ve/velib03a.cpp
index 818322871..a639244e1 100755
--- a/src/ve/velib03a.cpp
+++ b/src/ve/velib03a.cpp
@@ -368,14 +368,14 @@ void TTipo_documento::read_formule()
TFilename profile; profile_name(profile);
TFilename p(profile); p.custom_path();
- if (p.exist()) // evita la creazione di profili vuoti
- {
- TConfig prof(profile, "MAIN");
- prof.write_protect(); // Altrimenti non si distrugge!!!
+ if (p.exist()) // evita la creazione di profili vuoti
+ {
+ TConfig prof(profile, "MAIN");
+ prof.write_protect(); // Altrimenti non si distrugge!!!
- _tipocr = prof.get_char("TIPOCR", NULL, -1, ' ');
- _formule = prof.get("CAMPICALC");
- const TString& calcoli = prof.get("CALCOLI");
+ _tipocr = prof.get_char("TIPOCR", NULL, -1, ' ');
+ _formule = prof.get("CAMPICALC");
+ const TString& calcoli = prof.get("CALCOLI");
if (calcoli == "*")
{
TTable frd("%FRD");