mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
fix: set production plan to completed even on over production (#27027)
(cherry picked from commit 09f34e558e)
# Conflicts:
# erpnext/manufacturing/doctype/production_plan/production_plan.py
This commit is contained in:
@@ -415,7 +415,11 @@ class ProductionPlan(Document):
|
|||||||
|
|
||||||
if self.total_produced_qty > 0:
|
if self.total_produced_qty > 0:
|
||||||
self.status = "In Process"
|
self.status = "In Process"
|
||||||
|
<<<<<<< HEAD
|
||||||
if self.all_items_completed():
|
if self.all_items_completed():
|
||||||
|
=======
|
||||||
|
if self.total_produced_qty >= self.total_planned_qty:
|
||||||
|
>>>>>>> 09f34e558e (fix: set production plan to completed even on over production (#27027))
|
||||||
self.status = "Completed"
|
self.status = "Completed"
|
||||||
|
|
||||||
if self.status != "Completed":
|
if self.status != "Completed":
|
||||||
|
|||||||
Reference in New Issue
Block a user