Checking salable value in product_customer
When creating a new sale line, product_customer field isn't checking if it's salable, (product field hides the ones where salable is false), then when trying to save this record you get the error message saying "Sale Line is not valid according to its domain".
So I think adding ('template.salable', '=', True)
check in product_customer domain would be great.