Skip to content

Commit

Permalink
fix: (ux) Use subassembly schedule date while making WO from Prod Plan (
Browse files Browse the repository at this point in the history
frappe#27628)

- Set subassemply WO's planned start date from Production Plan
  • Loading branch information
marination authored Sep 21, 2021
1 parent abded89 commit 9110223
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ def show_list_created_message(self, doctype, doc_list=None):

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

0 comments on commit 9110223

Please sign in to comment.