mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-05 05:03:36 +02: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:
@@ -1032,6 +1032,8 @@ class SerialandBatchBundle(Document):
|
|||||||
qty_field = "consumed_qty"
|
qty_field = "consumed_qty"
|
||||||
elif row.get("doctype") == "Stock Entry Detail":
|
elif row.get("doctype") == "Stock Entry Detail":
|
||||||
qty_field = "transfer_qty"
|
qty_field = "transfer_qty"
|
||||||
|
elif row.get("doctype") == "Sales Invoice Item":
|
||||||
|
qty_field = "stock_qty"
|
||||||
|
|
||||||
return qty_field
|
return qty_field
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user