[MERGE] [FIX] property_ids not used while creating a proc. order, courtesy of Davide Corio

lp bug: https://launchpad.net/bugs/926107 fixed

bzr revid: mat@openerp.com-20130528100600-fco5tayf4350s3v6
This commit is contained in:
Martin Trigaux 2013-05-28 12:06:00 +02:00
commit adda8323ab
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ class sale_order(osv.osv):
'move_id': move_id,
'company_id': order.company_id.id,
'note': line.name,
'property_ids': [(6, 0, [x.id for x in line.property_ids])],
}
def _prepare_order_line_move(self, cr, uid, order, line, picking_id, date_planned, context=None):