From a71ed8787089d18fa52e634d6c940176f8d27ced Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Fri, 16 Dec 2011 12:10:20 +0530 Subject: [PATCH] [FIX]sale: remove a property_ids for fix a WARNING:orm:No such field(s) in model procurement.order lp bug: https://launchpad.net/bugs/904194 fixed bzr revid: mma@tinyerp.com-20111216064020-vz7knuvw2eaiuf6u --- addons/sale/sale.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 9f53b5cfd24..d8e6ae6935b 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -701,9 +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, - # Added by mrp, but mrp is not a dependency, this will trigger a warning - # if mrp is not installed. - 'property_ids': [(6, 0, [x.id for x in line.property_ids])], 'company_id': order.company_id.id, }