[FIX] stock: error on stock.partial.move creation
authorMartin Trigaux <mat@openerp.com>
Wed, 24 Sep 2014 08:27:40 +0000 (10:27 +0200)
committerMartin Trigaux <mat@openerp.com>
Wed, 24 Sep 2014 08:30:44 +0000 (10:30 +0200)
commit4a064b93747f51b77bda893531d7c09f4019571b
treef8b46fe71e6b906181ff4c4ffbc8b24a50613cc5
parent9c77f794b44a0b18d548385ae3ec9f49c6f85a94
[FIX] stock: error on stock.partial.move creation

The stock_partial_move wizard removes the required attribute for the field picking_id on a stock.partial.move. This means that we could get moves without picking_id and the previous line was failing ('NoneType' object has no attribute 'currency_id'). opw 614531
addons/stock/wizard/stock_partial_picking.py