mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
[fix] [minor] [delivery note]
This commit is contained in:
@@ -74,7 +74,7 @@ def get_item_details(args):
|
|||||||
out.update(apply_pos_settings(pos_settings, out))
|
out.update(apply_pos_settings(pos_settings, out))
|
||||||
|
|
||||||
if args.doctype in ("Sales Invoice", "Delivery Note"):
|
if args.doctype in ("Sales Invoice", "Delivery Note"):
|
||||||
if item_bean.doc.has_serial_no and not args.serial_no:
|
if item_bean.doc.has_serial_no == "Yes" and not args.serial_no:
|
||||||
out.serial_no = _get_serial_nos_by_fifo(args, item_bean)
|
out.serial_no = _get_serial_nos_by_fifo(args, item_bean)
|
||||||
|
|
||||||
return out
|
return out
|
||||||
|
|||||||
Reference in New Issue
Block a user