Fix for #738
Merge pull request #739 from roadster31/sales-fix

Fix for #738, InvalidArgumentException when creating a new sale.