add validation if not lote or due_date

Merged Ariel Caruso requested to merge 12.0-validation into 12.0

Merge request reports