fix: incorrect fieldname
This commit is contained in:
parent
da3635b94f
commit
311bafb23b
@ -424,7 +424,7 @@ class ProductionPlan(Document):
|
|||||||
po = frappe.new_doc('Purchase Order')
|
po = frappe.new_doc('Purchase Order')
|
||||||
po.supplier = supplier
|
po.supplier = supplier
|
||||||
po.schedule_date = getdate(po_list[0].schedule_date) if po_list[0].schedule_date else nowdate()
|
po.schedule_date = getdate(po_list[0].schedule_date) if po_list[0].schedule_date else nowdate()
|
||||||
po.is_subcontracted_item = 'Yes'
|
po.is_subcontracted = 'Yes'
|
||||||
for row in po_list:
|
for row in po_list:
|
||||||
args = {
|
args = {
|
||||||
'item_code': row.production_item,
|
'item_code': row.production_item,
|
||||||
|
Loading…
Reference in New Issue
Block a user