[FIX] clean some warnings.
authorVo Minh Thu <vmt@openerp.com>
Tue, 6 Dec 2011 10:57:58 +0000 (11:57 +0100)
committerVo Minh Thu <vmt@openerp.com>
Tue, 6 Dec 2011 10:57:58 +0000 (11:57 +0100)
bzr revid: vmt@openerp.com-20111206105758-j00f9b67jfvp5dxh

addons/sale/sale.py
addons/stock/test/stock_test.yml

index 48e5105..98a5f32 100644 (file)
@@ -701,7 +701,6 @@ class sale_order(osv.osv):
             'location_id': order.shop_id.warehouse_id.lot_stock_id.id,
             'procure_method': line.type,
             'move_id': move_id,
-            'property_ids': [(6, 0, [x.id for x in line.property_ids])],
             'company_id': order.company_id.id,
         }
 
index 63650ff..6e41849 100644 (file)
       }
     split_id = self.pool.get('stock.move.split').create(cr, uid, partial_datas, context={})
     split_move_data= {
-          'lot_id': split_id,
           'quantity': 10,
           'name': 'lot',
     }