mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 02:31:21 +00:00
chore: fix linter issue
This commit is contained in:
@@ -856,7 +856,9 @@ class SerialBatchCreation:
|
|||||||
if not doc.get("entries"):
|
if not doc.get("entries"):
|
||||||
return frappe._dict({})
|
return frappe._dict({})
|
||||||
|
|
||||||
if doc.voucher_no and frappe.get_cached_value(doc.voucher_type, doc.voucher_no, "docstatus") == 2:
|
if (
|
||||||
|
doc.voucher_no and frappe.get_cached_value(doc.voucher_type, doc.voucher_no, "docstatus") == 2
|
||||||
|
):
|
||||||
doc.voucher_no = ""
|
doc.voucher_no = ""
|
||||||
|
|
||||||
doc.save()
|
doc.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user