mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
fix: Subcontracting through Production Plan
This commit is contained in:
@@ -506,7 +506,7 @@ class ProductionPlan(Document):
|
|||||||
po.is_subcontracted = 1
|
po.is_subcontracted = 1
|
||||||
for row in po_list:
|
for row in po_list:
|
||||||
po_data = {
|
po_data = {
|
||||||
"item_code": row.production_item,
|
"fg_item": row.production_item,
|
||||||
"warehouse": row.fg_warehouse,
|
"warehouse": row.fg_warehouse,
|
||||||
"production_plan_sub_assembly_item": row.name,
|
"production_plan_sub_assembly_item": row.name,
|
||||||
"bom": row.bom_no,
|
"bom": row.bom_no,
|
||||||
@@ -516,9 +516,6 @@ class ProductionPlan(Document):
|
|||||||
for field in [
|
for field in [
|
||||||
"schedule_date",
|
"schedule_date",
|
||||||
"qty",
|
"qty",
|
||||||
"uom",
|
|
||||||
"stock_uom",
|
|
||||||
"item_name",
|
|
||||||
"description",
|
"description",
|
||||||
"production_plan_item",
|
"production_plan_item",
|
||||||
]:
|
]:
|
||||||
|
|||||||
Reference in New Issue
Block a user