Skip to content

Commit

Permalink
stock_average_daily_sale: Specify WH on demo stock moves
Browse files Browse the repository at this point in the history
  • Loading branch information
twalter-c2c committed Sep 23, 2024
1 parent 9f066bd commit b61bc22
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def _create_move(self, product, origin_location, qty):
"product_id": product.id,
"name": product.name,
"location_id": suppliers.id,
"warehouse_id": suppliers.warehouse_id.id,
"location_dest_id": customers.id,
"product_uom_qty": qty,
}
Expand All @@ -41,6 +42,7 @@ def _create_move(self, product, origin_location, qty):
"product_id": product.id,
"name": product.name,
"location_id": origin_location.id,
"warehouse_id": origin_location.warehouse_id.id,
"location_dest_id": customers.id,
"product_uom_qty": qty,
"priority": "1",
Expand Down

0 comments on commit b61bc22

Please sign in to comment.