hunk.code_window:     purchase_ids = [proc.purchase_line_id.order_id for proc in self.browse(cr, uid, procu_ids) if proc.purchase_line_id]
       assert len(purchase_ids) == 1, 'No purchase order found !'
       # Check the total quantity on the purchase order which should be in Unit(s)
       purchase_line = purchase_ids[0].order_line[0]
  
hunk.labels: keep keep keep replace keep
hunk.after_edit:     # Check the two purchase order lines
  
hunk.file_path: addons/stock_dropshipping/test/cancellation_propagated.yml
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  import discount
  