fix: (ux) Use subassembly schedule date while making WO from Prod Plan (bp #27628)

- Set subassemply WO's planned start date from Production Plan

(cherry picked from commit 9110223341)

Co-authored-by: Marica <maricadsouza221197@gmail.com>
This commit is contained in:
Frappe PR Bot
2021-09-21 17:12:45 +05:30
committed by GitHub
parent 19446a8ddd
commit 47c6fba317

View File

@@ -457,7 +457,8 @@ class ProductionPlan(Document):
def prepare_args_for_sub_assembly_items(self, row, args):
for field in ["production_item", "item_name", "qty", "fg_warehouse",
"description", "bom_no", "stock_uom", "bom_level", "production_plan_item"]:
"description", "bom_no", "stock_uom", "bom_level",
"production_plan_item", "schedule_date"]:
args[field] = row.get(field)
args.update({