hunk.code_window:     # Check that all procurements related are cancelled    
       for procu in self.browse(cr, uid, procu_ids, context=context):
           assert procu.state == u'cancel', 'Procurement %d should be cancelled but is with a state : %s!' %(procu.id, procu.state)
       # Check that the purchase order is cancelled
       for po in self.pool.get('purchase.order').browse(cr, uid, [po.id for po in purchase_ids], context=context):
           assert po.state == u'cancel', 'Purchase order %d should be cancelled but is in state : %s!' %(po.id, po.state)  
hunk.labels: keep keep keep replace replace replace replace
hunk.file_path: addons/stock_dropshipping/test/cancellation_propagated.yml
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <openerp>
      <data>
          <!-- Add partner categories in partner kanban view -->
          <record id="res_partner_kanban_view" model="ir.ui.view">
              <field name="name">res.partner.kanban.inherit</field>
              <field name="model">res.partner</field>
              <field name="inherit_id" ref="base.res_partner_kanban_view"/>
              <field name="arch" type="xml">
                  <xpath expr="//div[contains(@class, 'oe_kanban_partner_categories')]" position="inside">
                      <span class="oe_kanban_list_many2many">
                          <field name="category_id"/>
                      </span>
                  </xpath>
              </field>
          </record>
      </data>
  </openerp>
  