mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 00:28:30 +00:00
Update production_order.py
This commit is contained in:
@@ -55,7 +55,8 @@ class ProductionOrder(Document):
|
||||
if not self.expected_delivery_date:
|
||||
self.expected_delivery_date = so[0].delivery_date
|
||||
|
||||
self.project = so[0].project
|
||||
if so[0].project:
|
||||
self.project = so[0].project
|
||||
|
||||
self.validate_production_order_against_so()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user