Skip to content

Commit

Permalink
it's black
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamlahlou committed Feb 12, 2024
1 parent 5c8e011 commit 2911dfa
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 152 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 2911dfa

Please sign in to comment.