Add frontend procurement implementation 2

This commit is contained in:
Urtzi Alfaro
2025-09-09 17:40:57 +02:00
parent a290663ec5
commit 23e088dcb4
6 changed files with 339 additions and 75 deletions

View File

@@ -292,6 +292,7 @@ class EnhancedForecastingService:
forecast_data = {
"tenant_id": tenant_id,
"inventory_product_id": request.inventory_product_id,
"product_name": None, # Field is now nullable, use inventory_product_id as reference
"location": request.location,
"forecast_date": forecast_datetime,
"predicted_demand": adjusted_prediction['prediction'],