<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="excep_no_zip" model="exception.rule">
        <field name="name">No ZIP code on destination</field>
        <field name="description">No ZIP code on destination</field>
        <field name="sequence">50</field>
        <field name="model">stock.picking</field>
        <field name="code">if not picking.partner_id.zip: failed=True</field>
        <field name="active" eval="False"/>
  </record>

</odoo>
