Skip to content
Browse files

[FIX] purchase: partner on picking for dropship

- Create a SO with the Dropship route
- Validate the associated PO

The picking created has the partner set as the partner of the PO instead
of the SO.

  • Loading branch information...
nim-odoo committed Feb 20, 2019
1 parent ef618df commit 66a11478e131cb2252b17d503d34b8be87bd3f7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/purchase/models/
@@ -410,7 +410,7 @@ def _prepare_picking(self):
raise UserError(_("You must set a Vendor Location for this partner %s") %
return {
'partner_id': or,
'date': self.date_order,
'location_dest_id': self._get_destination_location(),

0 comments on commit 66a1147

Please sign in to comment.
You can’t perform that action at this time.