Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :

Bug 0001176

Il codice IVA, sull’anagrafica articoli, deve essere attivo se installato almeno il modulo delle vendite.


git-svn-id: svn://10.65.10.50/trunk@18367 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-02-26 23:36:37 +00:00
parent 3deaf39e57
commit 2a3520ba47

View File

@ -507,6 +507,10 @@ TMask_anamag::TMask_anamag(TRelation * rel) : TMask("ve2400")
TButton_field& bu = add_button(F_ADVANCED, 0, PR("Codice guidato"), 1, 1, 20);
bu.set_handler(advanced_codart_handler);
}
if (!app().has_module(LVAUT, CHK_DONGLE))
hide(-G_LV);
field(F_CODIVA).check_type(app().has_module(VEAUT, CHK_DONGLE) ? CHECK_REQUIRED : CHECK_NORMAL);
first_focus(F_CODART);
}
}
@ -1825,8 +1829,6 @@ bool TAnagrafica_magazzino::user_create()
_rel= new TRelation(LF_ANAMAG);
_msk= new TMask_anamag(_rel);
if (!app().has_module(LVAUT,CHK_DONGLE))
_msk->hide(-G_LV);
set_search_field(F_CODART); //serve per avere come campo di ricerca il codice articolo intero
//invece che l'ultimo campo del codice multilivello (se c'e')