diff --git a/src/cg/cg2102.cpp b/src/cg/cg2102.cpp index 2175ed996..0216fa8aa 100755 --- a/src/cg/cg2102.cpp +++ b/src/cg/cg2102.cpp @@ -664,14 +664,13 @@ bool TPrimanota_application::cg_handler(TMask_field& f, KEY k) return f.error_box(FR("Il conto della riga %d non è completo"), i+1); if (m.insert_mode() && c.sospeso()) return f.error_box(FR("Il conto della riga %d è sospeso"), i+1); - TBill co(r, 10, 0x0); + TBill co(r, 9, 0x1); if (!co.empty() && !co.ok()) { const bool ok = f.yesno_box(FR("La contropartita della riga %d non è completa:\n" "Si desidera continuare ugualmente?"), i+1); if (!ok) return false; } - if (app().is_transaction()) { // Controlla esistenza conti nelle transazioni (visto che non c'e' controllo in inserimento)