bug fixes for salesorder and product forms

fill in missing id field for new rows on salesorder form
fixes #150