[FIX]sale_stock:property_ids added
authorkbh at tinyerp <no_email@example.org>
Fri, 13 Dec 2013 03:31:27 +0000 (03:31 +0000)
committerStefan Rijnhart <stefan@therp.nl>
Wed, 2 Jul 2014 17:42:42 +0000 (19:42 +0200)
https://launchpad.net/bugs/1083077

addons/sale_stock/sale_stock.py

index d389715..6600e25 100644 (file)
@@ -304,6 +304,7 @@ class sale_order(osv.osv):
                     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,