mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-06 03:52:15 +00:00
fix: Add handling for Sales Invoice Item quantity field
Add handling for Sales Invoice Item quantity field
(cherry picked from commit edfcaee99b)
This commit is contained in:
@@ -1028,6 +1028,8 @@ class SerialandBatchBundle(Document):
|
||||
qty_field = "consumed_qty"
|
||||
elif row.get("doctype") == "Stock Entry Detail":
|
||||
qty_field = "transfer_qty"
|
||||
elif row.get("doctype") == "Sales Invoice Item":
|
||||
qty_field = "stock_qty"
|
||||
|
||||
return qty_field
|
||||
|
||||
|
||||
Reference in New Issue
Block a user