Skip to content

[14.0][ADD] mgmtsystem_hazard_risk_extension - #930

Open
eantones wants to merge 1 commit into
14.0from
14.0-add-mgmtsystem_hazard_risk_extension
Open

[14.0][ADD] mgmtsystem_hazard_risk_extension#930
eantones wants to merge 1 commit into
14.0from
14.0-add-mgmtsystem_hazard_risk_extension

Conversation

@eantones

@eantones eantones commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Add mgmtsystem_hazard_risk_extension.
  • Make hazard risk computation descriptions translatable.
  • Provide Catalan and Spanish translations for the stock formulas that use Usage.
  • Clear the target formula translation rows before reloading module translations so stale translations on dependency-owned noupdate records do not survive.

Validation

  • pre-commit run --files ... on the added addon and setup package.
  • Local install, relabel, uninstall, and reinstall lifecycle validation on a dedicated test database.

Make hazard risk computation descriptions translatable and provide Spanish and Catalan wording for the stock formulas.

The hooks clear the target formula translation rows before reloading module translations because those records belong to noupdate data in the owner module and normal imports can preserve stale rows.
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.75862% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.30%. Comparing base (e066126) to head (3e8140e).

Files with missing lines Patch % Lines
mgmtsystem_hazard_risk_extension/hooks.py 77.27% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             14.0     #930      +/-   ##
==========================================
+ Coverage   51.26%   51.30%   +0.04%     
==========================================
  Files        1180     1184       +4     
  Lines       20388    20417      +29     
  Branches     4298     4301       +3     
==========================================
+ Hits        10451    10475      +24     
- Misses       9683     9687       +4     
- Partials      254      255       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant