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

- Set subassemply WO's planned start date from Production Plan
This commit is contained in:
Marica 2021-09-21 16:50:14 +05:30 committed by GitHub
parent abded895f3
commit 9110223341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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({