[fix] null lines error and remaining qty assign
Merge pull request #452 from mikelarre/quants_manual_assigment

[fix] null lines error and remaining qty assign