fix: project has not set in the sub assembly work order from production plan (#19284)
This commit is contained in:
parent
8e937e9640
commit
a0c162c2d6
@ -477,6 +477,9 @@ class WorkOrder(Document):
|
||||
'include_item_in_manufacturing': item.include_item_in_manufacturing
|
||||
})
|
||||
|
||||
if not self.project:
|
||||
self.project = item.get("project")
|
||||
|
||||
self.set_available_qty()
|
||||
|
||||
def update_transaferred_qty_for_required_items(self):
|
||||
|
Loading…
Reference in New Issue
Block a user