Skip to content

Commit

Permalink
[FIX] stock_picking_create_repair: use delivery address on repair order
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane committed Sep 20, 2024
1 parent dd04156 commit d62a458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stock_picking_create_repair/models/repair_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def _catch_data_for_create_out_picking_repair(self):
"picking_type_id": picking_type.id,
"location_id": picking_type.default_location_src_id.id,
"location_dest_id": picking_type.default_location_dest_id.id,
"partner_id": self.sale_order_id.partner_id.id,
"partner_id": self.address_id.id
or self.sale_order_id.partner_shipping_id.id,
"origin": self.sale_order_id.name,
"sale_order_id": self.sale_order_id.id,
"company_id": self.sale_order_id.company_id.id,
Expand Down

0 comments on commit d62a458

Please sign in to comment.