refactor: drop redundant time_in_mins assignment in complete_job

(cherry picked from commit 3cffeb68e3)
This commit is contained in:
Mihir Kandoi
2026-08-11 11:56:13 +05:30
committed by Mergify
parent 822e6d8924
commit 631cc2c218

View File

@@ -232,7 +232,6 @@ class Workstation(Document):
for row in doc.time_logs:
if not row.to_time:
row.to_time = to_time
row.time_in_mins = time_diff_in_hours(row.to_time, row.from_time) * 60
row.completed_qty = qty
doc.save()