issue #20040: orm def for sales order
issue #20040: sales order model