[MERGE]:merged with lp:trunk-bug-751222-ron

bzr revid: ron@tinyerp.com-20110415123304-4oebtzs7tklkxbap
This commit is contained in:
ron@tinyerp.com
2011-04-15 18:03:04 +05:30
parent c7546b3274
commit a100855177
@@ -175,8 +175,6 @@ class stock_partial_picking(osv.osv_memory):
'product_price' : move.cost,
'product_currency': move.currency.id,
})
if picking_qty < partial_qty:
raise osv.except_osv(_('Error !'), _('You cannot select Quantity %s more then Picking Quantity %s.') % (partial_qty, picking_qty,))
pick_obj.do_partial(cr, uid, picking_ids, partial_datas, context=context)
return {'type': 'ir.actions.act_window_close'}