commit | 311bafb23bdfdb38ccdd82d3d3c95ba7dfed809c | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Wed Oct 20 20:28:29 2021 +0530 |
committer | Ankush Menat <ankushmenat@gmail.com> | Wed Oct 20 20:51:57 2021 +0530 |
tree | 08c428d280ec5d062a42995bb15ed0a3a0cdcc74 | |
parent | da3635b94f950d7498a259a4babb4b27b3865b04 [diff] |
fix: incorrect fieldname
diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.py b/erpnext/manufacturing/doctype/production_plan/production_plan.py index b9efe9b..7e6fc3c 100644 --- a/erpnext/manufacturing/doctype/production_plan/production_plan.py +++ b/erpnext/manufacturing/doctype/production_plan/production_plan.py
@@ -424,7 +424,7 @@ po = frappe.new_doc('Purchase Order') po.supplier = supplier 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: args = { 'item_code': row.production_item,