Skip to content

feat: Add Risk DocType to Risk Management module#1

Draft
google-labs-jules[bot] wants to merge 3 commits intomainfrom
feat-risk-management-3238319228090315056
Draft

feat: Add Risk DocType to Risk Management module#1
google-labs-jules[bot] wants to merge 3 commits intomainfrom
feat-risk-management-3238319228090315056

Conversation

@google-labs-jules
Copy link

This PR implements the core Risk DocType for the Risk Management module. It includes:

  • DocType definition with fields for identifying and assessing risks.
  • Python controller to calculate risk_score automatically based on probability and impact.
  • Workspace update to make the module accessible.
  • Unit tests for the risk score calculation logic.

PR created automatically by Jules for task 3238319228090315056 started by @matbrgz

- Added `Risk` DocType with fields for probability, impact, and risk score calculation.
- Implemented `risk_score` calculation logic in `Risk.py`.
- Added standard Frappe test for `Risk` DocType.
- Updated `Risk Management` Workspace to include the new DocType.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

- Governance:
  - Implemented `Policy` DocType with lifecycle management and date validation.
  - Implemented `Committee` DocType with `Committee Member` child table.
  - Implemented `Change Management` DocType for tracking change requests.
  - Updated `Policy Category` DocType.
  - Updated Governance Workspace.
- Risk Management:
  - Implemented `Risk` DocType with automatic risk score calculation.
  - Updated Risk Management Workspace.
- Added tests for `Policy` validation and `Risk` score calculation.
- Legal:
  - Implemented `Legal Contract` DocType with partner dynamic link and validation.
  - Implemented `Contract Category`.
  - Updated Legal Workspace.
  - Added test for contract status.
- Information Technology:
  - Implemented `Hardware Asset` and `Application Asset` DocTypes.
  - Implemented `Ticket` DocType for IT helpdesk.
  - Updated IT Workspace.
  - Added test for ticket creation.
- Governance:
  - Implemented `Policy`, `Committee`, `Change Management`, `Policy Category` DocTypes.
  - Added validation for Policy dates and test.
  - Updated Governance Workspace.
- Risk Management:
  - Implemented `Risk` DocType with score calculation logic and test.
  - Updated Risk Management Workspace.
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.

0 participants