From 8dd980222efd29ef1f6fae2534f057bb62a775cc Mon Sep 17 00:00:00 2001 From: kbh at tinyerp Date: Fri, 13 Dec 2013 03:31:27 +0000 Subject: [PATCH] [FIX]sale_stock:property_ids added https://launchpad.net/bugs/1083077 --- addons/sale_stock/sale_stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale_stock/sale_stock.py b/addons/sale_stock/sale_stock.py index d389715e6c176..6600e257c6d92 100644 --- a/addons/sale_stock/sale_stock.py +++ b/addons/sale_stock/sale_stock.py @@ -304,6 +304,7 @@ def _prepare_order_line_procurement(self, cr, uid, order, line, move_id, date_pl or line.product_uom.id, 'location_id': order.shop_id.warehouse_id.lot_stock_id.id, 'procure_method': line.type, + 'property_ids': [(6, 0, [l.id for l in line.property_ids])], 'move_id': move_id, 'company_id': order.company_id.id, 'note': line.name,