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.
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 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)
if (picking_type == 'in') and (wizard_
this also will never execute.
See the code
for wizard_line in partial.move_ids:
line_ uom = wizard_ line.product_ uom line.move_ id.id
move_id = wizard_
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!