sale.exception.csv 447 B

12345
  1. "id","name","description","sequence","model","code","active"
  2. "excep_no_zip","No ZIP code on destination",,50,"sale.order","if not order.partner_shipping_id.zip:
  3. failed=True",False
  4. "excep_no_stock","Not Enough Virtual Stock",,50,"sale.order.line","if line.product_id and line.product_id.type == 'product' and line.product_id.with_context(warehouse=line.order_id.warehouse_id.id).virtual_available < line.product_uom_qty:
  5. failed=True",False