adjustments to sale_order model