fix: linter issue
This commit is contained in:
@@ -2406,10 +2406,6 @@ class TestDeliveryNote(FrappeTestCase):
|
||||
if row.item_code == serial_item.name:
|
||||
self.assertTrue(row.serial_no)
|
||||
|
||||
if row.item_code == batch_serial_item.name:
|
||||
self.assertTrue(row.batch_no)
|
||||
self.assertTrue(row.serial_no)
|
||||
|
||||
|
||||
def create_delivery_note(**args):
|
||||
dn = frappe.new_doc("Delivery Note")
|
||||
|
||||
@@ -121,7 +121,7 @@ def get_item_details(args, doc=None, for_validate=False, overwrite_warehouse=Tru
|
||||
and (args.get("use_serial_batch_fields") or args.get("doctype") == "POS Invoice")
|
||||
):
|
||||
update_stock(args, out, doc)
|
||||
|
||||
|
||||
if args.transaction_date and item.lead_time_days:
|
||||
out.schedule_date = out.lead_time_date = add_days(args.transaction_date, item.lead_time_days)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user