Skip to content

Commit

Permalink
Merge pull request OCA#16 from saxomanu/10.0-callino-rebase
Browse files Browse the repository at this point in the history
[FIX] not sale_line in stock_picking
  • Loading branch information
flotho authored May 14, 2020
2 parents 7d614d2 + 7faf195 commit 114921e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector_magento/models/stock_picking/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_notify_shipping_items(self):
for move in self.move_lines:
if move.procurement_id.sale_line_id and move.procurement_id.sale_line_id.magento_bind_ids:
data.append({
'order_item_id': move.sale_line_id.magento_bind_ids[0].external_id,
'order_item_id': move.procurement_id.sale_line_id.magento_bind_ids[0].external_id,
'qty': move.quantity_done,
})
return data
Expand Down

0 comments on commit 114921e

Please # to comment.