[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
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user