Skip to content

Commit

Permalink
[FIX] not sale_line in stock_picking
Browse files Browse the repository at this point in the history
  • Loading branch information
saxomanu committed May 14, 2020
1 parent da7adf3 commit 7faf195
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 7faf195

Please # to comment.