Skip to content

Commit

Permalink
Merge pull request #405 from frePPLe/15.0
Browse files Browse the repository at this point in the history
Syncing from upstream frePPLe/odoo (15.0)
  • Loading branch information
bt-admin authored Feb 13, 2024
2 parents 805969b + 2911dfa commit 0acf1df
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 156 deletions.
22 changes: 11 additions & 11 deletions frepple/controllers/inbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,17 +345,17 @@ def run(self):
if not hasattr(self, "stock_picking_dict"):
self.stock_picking_dict = {}
if not self.stock_picking_dict.get((origin, destination)):
self.stock_picking_dict[
(origin, destination)
] = stck_picking.create(
{
"picking_type_id": picking_type_id,
"scheduled_date": date_shipping,
"location_id": location_id["id"],
"location_dest_id": location_dest_id["id"],
"move_type": "direct",
"origin": "frePPLe",
}
self.stock_picking_dict[(origin, destination)] = (
stck_picking.create(
{
"picking_type_id": picking_type_id,
"scheduled_date": date_shipping,
"location_id": location_id["id"],
"location_dest_id": location_dest_id["id"],
"move_type": "direct",
"origin": "frePPLe",
}
)
)
sp = self.stock_picking_dict.get((origin, destination))
if not hasattr(self, "sm_dict"):
Expand Down
Loading

0 comments on commit 0acf1df

Please sign in to comment.