Comment 3 for bug 1172694

Revision history for this message
Amit Parik (amit-parik) wrote : Re: [7.0] do_partial function in partial picking wizard doesn't accept a wizard line without move_id

Hello Yannick.

If there is no partial move_ids then it will never execute the move_id = wizard_line.move_id.id code as well as
if (picking_type == 'in') and (wizard_line.product_id.cost_method == 'average'):
                partial_data['move%s' % (wizard_line.move_id.id)].update(product_price=wizard_line.cost,
                                                                  product_currency=wizard_line.currency.id)
this also will never execute.

See the code

        for wizard_line in partial.move_ids:
            line_uom = wizard_line.product_uom
            move_id = wizard_line.move_id.id

Another thing move_id = wizard_line.move_id.id both have same value, So your fix didn't fix anything. It works ad it works before.
Also the main thing move_id will never passed as a False, So I am going to close this issue.

Thank you!