Purchase: Test Draft Orders Exception
code
model.test_all_draft_orders()
20
minutes
-1
No email on vendor
No Email for Vendor
50
purchase.order
if not self.partner_id.email:
failed=True
Quantity not positive
Purchase line quantity must be positive
50
purchase.order.line
if self.product_qty < 0:
failed=True