Skip to content

Small fixes and MRP Run status#37

Merged
dvdl16 merged 5 commits into
version-15from
feat/phase-5
Apr 28, 2026
Merged

Small fixes and MRP Run status#37
dvdl16 merged 5 commits into
version-15from
feat/phase-5

Conversation

@dvdl16

@dvdl16 dvdl16 commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

Description

  • fix: list of direct forecasts shown in breakdown popup
  • fix: make BOM column header more clear
  • fix: sync column sort when loading filter presets
  • feat: show MRP run status and surface batch job errors in UI

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Tests

  • Unit Tests have been updated or added, as required
  • UI Tests have been updated or added, as required

Checklist:

  • My code follows Naming Guidelines (DocType, Field and Variable naming)
  • No Form changes / My code follows the Form Design Guidelines
  • My code follows the Coding Standards of this project
  • My code follows the Code Security Guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas / No comments necessary
  • I have made corresponding additions/changes to the documentation
  • All business logic and validations are on the server-side / No business logic or validation changes
  • No patches are necessary / Migration Patches have been added to the correct subdirectory of /patches and patches.txt have been updated

User Experience:

Screenshot_20260428_172417 Screenshot_20260428_190044

dvdl16 added 5 commits April 28, 2026 13:20
  - Publish mrp_run_started realtime event so UI can show spinner immediately
  - Add get_mrp_run_status() API: checks RQ Job for running/failed
    _finalise_item_batch jobs; used for page-load init and 5s polling
  - Frontend polls every 5s while running, stops on complete/failed
  - Rerun button disabled during run; status text pulses blue when
    running, turns red with batch failure count on error
@dvdl16 dvdl16 merged commit 0c17dae into version-15 Apr 28, 2026
5 checks passed
@codecov

codecov Bot commented Apr 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 37.03704% with 34 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
erpnext_mrp/mrp/tasks/mrp_run.py 37.73% 33 Missing ⚠️
erpnext_mrp/__init__.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant