No order lines
At least one order line should be present in the sale
50
sale.order
by_domain
[('order_line', '=', False)]
No free order
The total can't be 0
50
sale.order
by_domain
[('amount_total', '=', 0)]
No dumping
A product is sold cheaper than his cost.
50
sale.order.line
failed = obj.product_id.standard_price != 0 and obj.product_id.standard_price > obj.price_unit