hunk.code_window:     # Let us cancel the procurement related to the 2nd sales order first and check that the 2 Dozen(s) are subtracted correctly
       so2 = self.pool.get('sale.order').browse(cr, uid, ref('sale_order_product_mto2'))
       self.cancel(cr, uid, [so2.order_line[0].procurement_ids[0].id], context=context)
       assert so2.order_line[0].procurement_ids[0].state == u'cancel', 'Main procurement should be cancelled !'
       assert purchase_line.product_qty == 5.0, 'As we ordered 2 Dozen(s) and 5 Unit(s) and cancelled the two Dozen, total should be 5 Unit(s) and not %s' % (purchase_line.product_qty,)
       # Cancel the main procurement from the sale order in units
       main_procu_id = self.search(cr, uid, [('origin', '=', so.name)])
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.file_path: addons/stock_dropshipping/test/cancellation_propagated.yml
hunk.type: replace
file: # Slovenian translation for openobject-addons
  # Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014
  # This file is distributed under the same license as the openobject-addons package.
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
  #
  msgid ""
  msgstr ""
  "Project-Id-Version: openobject-addons\n"
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
  "POT-Creation-Date: 2014-08-14 13:09+0000\n"
  "PO-Revision-Date: 2014-08-14 16:10+0000\n"
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  "Language-Team: Slovenian <sl@li.org>\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: 8bit\n"
  "X-Launchpad-Export-Date: 2014-08-15 07:49+0000\n"
  "X-Generator: Launchpad (build 17156)\n"
  
  #. module: sale_margin
  #: field:sale.order.line,purchase_price:0
  msgid "Cost Price"
  msgstr "Lastna cena"
  
  #. module: sale_margin
  #: help:sale.order,margin:0
  msgid ""
  "It gives profitability by calculating the difference between the Unit Price "
  "and the cost price."
  msgstr ""
  "Dobimo profitabilnost kot izračun razlike med ceno enote in stroškovno ceno."
  
  #. module: sale_margin
  #: field:sale.order,margin:0
  #: field:sale.order.line,margin:0
  msgid "Margin"
  msgstr "Razlika v ceni"
  
  #. module: sale_margin
  #: model:ir.model,name:sale_margin.model_sale_order
  msgid "Sales Order"
  msgstr "Prodajno naročilo"
  
  #. module: sale_margin
  #: model:ir.model,name:sale_margin.model_sale_order_line
  msgid "Sales Order Line"
  msgstr "Postavka prodajnega naloga"
  