commit | be5881280fae54c1de9d0cbb4f90d54f958aa7ed | [log] [tgz] |
---|---|---|
author | s-aga-r <sagarsharma.s312@gmail.com> | Tue Jul 11 17:09:23 2023 +0530 |
committer | GitHub <noreply@github.com> | Tue Jul 11 17:09:23 2023 +0530 |
tree | 5852847b2b2c8fb0e67b2f8b069e7763b0faaa07 | |
parent | ce9164ec69f6cbc67edae644dd0e0e17ff39af74 [diff] |
fix: incorrect status in MR created from PP (#36085)
diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.py b/erpnext/manufacturing/doctype/production_plan/production_plan.py index 6dc1ff6..5f957a5 100644 --- a/erpnext/manufacturing/doctype/production_plan/production_plan.py +++ b/erpnext/manufacturing/doctype/production_plan/production_plan.py
@@ -697,10 +697,9 @@ material_request.flags.ignore_permissions = 1 material_request.run_method("set_missing_values") + material_request.save() if self.get("submit_material_request"): material_request.submit() - else: - material_request.save() frappe.flags.mute_messages = False