forked from erp-dev/erp
feat: statement for supplier and customer
This commit is contained in:
@@ -1246,7 +1246,7 @@ def _build_stock_flow_items_from_order(order) -> List[Dict[str, Any]]:
|
||||
items_payload.append({
|
||||
'product_id': item.product_id,
|
||||
'value': str(item.quantity),
|
||||
'num_of_rolls': item.num_of_rolls,
|
||||
'num_of_rolls': item.num_of_rolls or 1,
|
||||
})
|
||||
return items_payload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user