fix reorder_item
This commit is contained in:
parent
73f1c93cd2
commit
33670bba47
@ -122,7 +122,7 @@ def create_material_request(material_requests):
|
|||||||
"company": company,
|
"company": company,
|
||||||
"transaction_date": nowdate(),
|
"transaction_date": nowdate(),
|
||||||
"material_request_type": "Material Transfer" if request_type=="Transfer" else request_type,
|
"material_request_type": "Material Transfer" if request_type=="Transfer" else request_type,
|
||||||
"schedule_date": add_days(nowdate(),cint(item.lead_time_days))
|
"schedule_date": add_days(nowdate(), cint(items[0].lead_time_days))
|
||||||
})
|
})
|
||||||
|
|
||||||
for d in items:
|
for d in items:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user