mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
stock_average_daily_sale: Specify WH on demo stock moves
This commit is contained in:
@@ -26,6 +26,7 @@ class StockAverageDailySaleDemo(models.TransientModel):
|
|||||||
"product_id": product.id,
|
"product_id": product.id,
|
||||||
"name": product.name,
|
"name": product.name,
|
||||||
"location_id": suppliers.id,
|
"location_id": suppliers.id,
|
||||||
|
"warehouse_id": suppliers.warehouse_id.id,
|
||||||
"location_dest_id": customers.id,
|
"location_dest_id": customers.id,
|
||||||
"product_uom_qty": qty,
|
"product_uom_qty": qty,
|
||||||
}
|
}
|
||||||
@@ -41,6 +42,7 @@ class StockAverageDailySaleDemo(models.TransientModel):
|
|||||||
"product_id": product.id,
|
"product_id": product.id,
|
||||||
"name": product.name,
|
"name": product.name,
|
||||||
"location_id": origin_location.id,
|
"location_id": origin_location.id,
|
||||||
|
"warehouse_id": origin_location.warehouse_id.id,
|
||||||
"location_dest_id": customers.id,
|
"location_dest_id": customers.id,
|
||||||
"product_uom_qty": qty,
|
"product_uom_qty": qty,
|
||||||
"priority": "1",
|
"priority": "1",
|
||||||
|
|||||||
Reference in New Issue
Block a user