mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 05:29:18 +00:00
chore: Fix typo "Purchase Reecipt"
This commit is contained in:
@@ -1036,7 +1036,7 @@ def filter_serial_batches(parent_doc, data, row, warehouse_field=None, qty_field
|
|||||||
available_serial_nos.append(serial_no)
|
available_serial_nos.append(serial_no)
|
||||||
|
|
||||||
if available_serial_nos:
|
if available_serial_nos:
|
||||||
if parent_doc.doctype in ["Purchase Invoice", "Purchase Reecipt"]:
|
if parent_doc.doctype in ["Purchase Invoice", "Purchase Receipt"]:
|
||||||
available_serial_nos = get_available_serial_nos(available_serial_nos, warehouse)
|
available_serial_nos = get_available_serial_nos(available_serial_nos, warehouse)
|
||||||
|
|
||||||
if len(available_serial_nos) > qty:
|
if len(available_serial_nos) > qty:
|
||||||
@@ -1052,7 +1052,7 @@ def filter_serial_batches(parent_doc, data, row, warehouse_field=None, qty_field
|
|||||||
if batch_qty <= 0:
|
if batch_qty <= 0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if parent_doc.doctype in ["Purchase Invoice", "Purchase Reecipt"]:
|
if parent_doc.doctype in ["Purchase Invoice", "Purchase Receipt"]:
|
||||||
batch_qty = get_available_batch_qty(
|
batch_qty = get_available_batch_qty(
|
||||||
parent_doc,
|
parent_doc,
|
||||||
batch_no,
|
batch_no,
|
||||||
|
|||||||
Reference in New Issue
Block a user