(cherry picked from commit 3f3717952c94af428c3d4c919aceb6b8cbae7679) Co-authored-by: Anoop <anoop@earthianslive.com>
This commit is contained in:
parent
b9d37152ba
commit
89a9afab94
@ -1327,7 +1327,7 @@ def get_serial_nos_for_job_card(row, wo_doc):
|
||||
used_serial_nos.extend(get_serial_nos(d.serial_no))
|
||||
|
||||
serial_nos = sorted(list(set(serial_nos) - set(used_serial_nos)))
|
||||
row.serial_no = "\n".join(serial_nos[0 : row.job_card_qty])
|
||||
row.serial_no = "\n".join(serial_nos[0 : cint(row.job_card_qty)])
|
||||
|
||||
|
||||
def validate_operation_data(row):
|
||||
|
Loading…
x
Reference in New Issue
Block a user