Do not allow to Delivery an W.O. provided by a sale

We shouldn't allow to Deliver a W.O. coming from a sale

Fixes: http://bugs.async.com.br/show_bug.cgi?id=5657
Change-Id: Ie3377fa89c0e38fe286680e69d46a067458a6ecd