Model sale order fixes

https://github.com/opencart/opencart/commit/06d6e50f40701ec33d054f1e1c15b0d2b1329c2b