fix: Map Production Plan company in subassembly WO created from it

This commit is contained in:
marination 2022-04-12 14:30:01 +05:30
parent 60fb71bd2a
commit 2777c5c67c

View File

@ -462,6 +462,7 @@ class ProductionPlan(Document):
work_order_data = {
"wip_warehouse": default_warehouses.get("wip_warehouse"),
"fg_warehouse": default_warehouses.get("fg_warehouse"),
"company": self.get("company"),
}
self.prepare_data_for_sub_assembly_items(row, work_order_data)