(cherry picked from commit 09f34e558e)
Co-authored-by: Alan <2.alan.tom@gmail.com>
[skip ci]
This commit is contained in:
@@ -297,7 +297,7 @@ class ProductionPlan(Document):
|
||||
|
||||
if self.total_produced_qty > 0:
|
||||
self.status = "In Process"
|
||||
if self.total_produced_qty == self.total_planned_qty:
|
||||
if self.total_produced_qty >= self.total_planned_qty:
|
||||
self.status = "Completed"
|
||||
|
||||
if self.status != 'Completed':
|
||||
|
||||
Reference in New Issue
Block a user