[ADD] spp_change_request_event_data
Why is this change needed?
When approving a change request,An event data to update
How was the change implemented?
- Inherit spp_event_data and spp_change_request modules and add event data page on notebook of change request. Once approve a change request data will be save on event data section on change request
New unit tests
N/A
Unit tests executed by the author
N/A
How to test manually
- In a fresh database install spp_event_data and spp_change_request modules or install spp_change_request_event_data then other dependency modules will install automatically.
- Define user roles to users
- Create a change request (ex: add farmer CR, update farmer CR)
- once approve the CR, system will automatically create event data on relevant change request
Related links
#714
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Codecov Report
:x: Patch coverage is 43.75000% with 18 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 75.02%. Comparing base (aa7a32f) to head (5274200).
:warning: Report is 60 commits behind head on 17.0.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...change_request_event_data/models/change_request.py | 28.00% | 18 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## 17.0 #786 +/- ##
==========================================
- Coverage 75.07% 75.02% -0.06%
==========================================
Files 730 734 +4
Lines 19285 19317 +32
Branches 2400 2404 +4
==========================================
+ Hits 14479 14492 +13
- Misses 4298 4316 +18
- Partials 508 509 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Setting this PR to draft since the requirements for this PR/ticket is not yet complete.
@shashikala1998 I will close this for now but will be re-opened when we have this covered in our future plans.