Fix product type issue
This commit is contained in:
@@ -502,6 +502,7 @@ class AIOnboardingService:
|
||||
"name": modifications.get("name") or approval.get("suggested_name"),
|
||||
"category": mapped_category,
|
||||
"unit_of_measure": mapped_unit,
|
||||
"product_type": approval.get("product_type"),
|
||||
"description": modifications.get("description") or approval.get("notes", ""),
|
||||
# Optional fields
|
||||
"brand": modifications.get("brand") or approval.get("suggested_supplier"),
|
||||
|
||||
Reference in New Issue
Block a user