Some refactoring of sales order to change how effective date works and fix mixin implementation.
Merge pull request #345 from jrogelstad/20212

Some refactoring of sales order to change how effective date works and f...