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