Skip to content

Comments

chore: fix 19.0 pre-commit and test failures#57

Open
emjay0921 wants to merge 8 commits into19.0from
chore/fix-stale-readmes
Open

chore: fix 19.0 pre-commit and test failures#57
emjay0921 wants to merge 8 commits into19.0from
chore/fix-stale-readmes

Conversation

@emjay0921
Copy link
Contributor

@emjay0921 emjay0921 commented Feb 20, 2026

Why is this change needed?

The 19.0 branch has several CI failures:

Pre-commit

  • oca-gen-addon-readme hook fails because multiple modules have both .rst and .md readme fragments
  • Several auto-generated README.rst and index.html files are stale after recent PR merges (feat: GIS foundations and registrant GPS coordinates #42, feat: add HXL modules and GIS indicator layers #47)
  • manual: true on oca-gen-addon-readme and oca-gen-external-dependencies hooks is not valid pre-commit syntax — it gets silently ignored, causing the hooks to run in CI where platform-dependent docutils rendering produces different RST table formatting (Ubuntu vs macOS)

Tests

  • spp_grm: Registry crash — res_config_settings_views.xml references helpdesk_mgmt_portal_* fields that were never defined (leftover from helpdesk_mgmt fork). Removed the dead view.
  • spp_mis_demo_v2: 3 test failures — hardcoded program count of 6 but a 7th program was added in recent merges

Codecov (open)

  • codecov/project reports -3.29% coverage drop. The BASE commit (2a25b61) tested 4 modules (spp_dci_demo, spp_demo, spp_grm_demo, spp_mis_demo_v2) across 65 files. This PR's HEAD tests 7 modules across 398 files — the larger test surface includes modules with lower coverage, diluting the overall percentage. Not a blocking check (no branch protection on 19.0).

How was the change implemented?

  • Removed .rst readme fragments that have .md duplicates
  • Regenerated all README.rst and index.html files via oca-gen-addon-readme
  • Replaced invalid manual: true with correct stages: [manual] for oca-gen-addon-readme and oca-gen-external-dependencies hooks
  • Removed broken spp_grm/views/res_config_settings_views.xml (undefined helpdesk_mgmt_portal_* fields, no menu reference)
  • Updated spp_mis_demo_v2 test assertions to match current program count

New unit tests

N/A

Unit tests executed by the author

  • spp_grm — 0 failed, 0 errors of 25 tests
  • spp_grm_demo — 0 failed, 0 errors of 31 tests
  • spp_mis_demo_v2 — 0 failed, 0 errors of 31 tests

How to test manually

  • Verify CI passes on 19.0 after merge

Related links

Fixes pre-commit and test CI failures on 19.0 branch

Remove .rst readme fragments that have .md duplicates (the hook
cannot process both) and regenerate all auto-generated README.rst
and index.html files to match the current oca-gen-addon-readme output.
@gemini-code-assist
Copy link

Summary of Changes

Hello @emjay0921, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on documentation maintenance and build process stability. It addresses issues with outdated and conflicting README files by removing duplicate formats and regenerating all documentation files. This ensures that the project's documentation is accurate and that automated checks pass successfully, streamlining future development workflows.

Highlights

  • Documentation Regeneration: All README.rst and static/description/index.html files across various modules have been regenerated to ensure they are up-to-date and consistent.
  • Duplicate Readme Fragment Removal: Redundant .rst readme fragments that had .md duplicates were removed, standardizing on the preferred Markdown format for source fragments.
  • Pre-commit Hook Fix: The changes resolve issues causing the oca-gen-addon-readme pre-commit hook to fail on the 19.0 branch, ensuring a clean build process.
Changelog
  • spp_alerts/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_api_v2_change_request/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2_change_request/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_api_v2_entitlements/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2_products/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2_service_points/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2_service_points/static/description/index.html
    • Adjusted line breaks within table content.
  • spp_api_v2_vocabulary/README.rst
    • Updated table formatting for improved readability.
  • spp_api_v2_vocabulary/static/description/index.html
    • Adjusted line breaks within table content.
  • spp_approval/README.rst
    • Updated table formatting for improved readability.
  • spp_approval/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_area/README.rst
    • Updated table formatting for improved readability.
  • spp_area/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_area_hdx/README.rst
    • Updated table formatting for improved readability.
  • spp_audit/README.rst
    • Updated table formatting for improved readability.
  • spp_audit/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_banking/README.rst
    • Updated table formatting for improved readability.
  • spp_banking/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_base_common/README.rst
    • Updated table formatting for improved readability.
  • spp_branding_kit/README.rst
    • Updated table formatting for improved readability.
  • spp_cel_domain/README.rst
    • Updated table formatting for improved readability.
  • spp_cel_domain/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_cel_registry_search/README.rst
    • Updated table formatting for improved readability.
  • spp_cel_registry_search/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_cel_widget/README.rst
    • Updated table formatting for improved readability.
  • spp_cel_widget/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_change_request_v2/README.rst
    • Updated table formatting for improved readability.
  • spp_change_request_v2/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_claim_169/README.rst
    • Updated table formatting for improved readability.
  • spp_claim_169/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_consent/README.rst
    • Updated table formatting for improved readability.
  • spp_consent/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_cr_types_advanced/README.rst
    • Updated table formatting for improved readability.
  • spp_cr_types_advanced/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_cr_types_base/README.rst
    • Updated table formatting for improved readability.
  • spp_cr_types_base/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_custom_field/README.rst
    • Updated table formatting for improved readability.
  • spp_custom_field/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_dci/README.rst
    • Updated table formatting for improved readability.
  • spp_dci/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_dci_client/README.rst
    • Updated table formatting for improved readability.
  • spp_dci_client/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_dci_client_crvs/README.rst
    • Updated table formatting for improved readability.
  • spp_dci_client_crvs/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_dci_client_dr/README.rst
    • Updated table formatting for improved readability.
  • spp_dci_client_dr/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_dci_client_ibr/README.rst
    • Updated table formatting for improved readability.
  • spp_dci_client_ibr/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_dci_server/README.rst
    • Updated table formatting for improved readability.
  • spp_dci_server/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_demo/README.rst
    • Updated table formatting for improved readability.
  • spp_demo/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_dms/README.rst
    • Updated table formatting for improved readability.
  • spp_dms/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_drims/README.rst
    • Updated table formatting for improved readability.
  • spp_drims/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_drims_sl/README.rst
    • Updated table formatting for improved readability.
  • spp_drims_sl_demo/README.rst
    • Updated table formatting for improved readability.
  • spp_drims_sl_demo/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_event_data/README.rst
    • Updated table formatting for improved readability.
  • spp_event_data/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_gis/README.rst
    • Updated table formatting for improved readability.
  • spp_gis/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_gis_indicators/README.rst
    • Removed the Odoo Community Association banner image.
    • Updated table formatting for improved readability.
    • Removed the 'More details on development status' link.
  • spp_gis_indicators/static/description/index.html
    • Updated the HTML document title.
    • Removed the Odoo Community Association banner image.
    • Adjusted heading levels for better structure.
    • Adjusted table column widths for better display.
    • Removed the 'More details on development status' link.
  • spp_gis_report/README.rst
    • Updated table formatting for improved readability.
  • spp_gis_report/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_gis_report_programs/README.rst
    • Updated table formatting for improved readability.
  • spp_gis_report_programs/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_grm/README.rst
    • Updated table formatting for improved readability.
  • spp_grm/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_grm_demo/README.rst
    • Updated table formatting for improved readability.
  • spp_hide_menus_base/README.rst
    • Updated table formatting for improved readability.
  • spp_hide_menus_base/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_hxl/README.rst
    • Removed the Odoo Community Association banner image.
    • Updated table formatting for improved readability.
  • spp_hxl/static/description/index.html
    • Updated the HTML document title.
    • Removed the Odoo Community Association banner image.
    • Adjusted heading levels for better structure.
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_hxl_area/README.rst
    • Removed the Odoo Community Association banner image.
    • Updated table formatting for improved readability.
  • spp_hxl_area/static/description/index.html
    • Updated the HTML document title.
    • Removed the Odoo Community Association banner image.
    • Adjusted heading levels for better structure.
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_key_management/README.rst
    • Updated table formatting for improved readability.
  • spp_key_management/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_programs/README.rst
    • Updated table formatting for improved readability.
  • spp_programs/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_registrant_gis/README.rst
    • Removed the Odoo Community Association banner image.
    • Removed the 'More details on development status' link.
  • spp_registrant_gis/static/description/index.html
    • Updated the HTML document title.
    • Removed the Odoo Community Association banner image.
    • Adjusted heading levels for better structure.
    • Removed the 'More details on development status' link.
  • spp_registry/README.rst
    • Updated table formatting for improved readability.
  • spp_registry/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_registry_search/README.rst
    • Updated table formatting for improved readability.
  • spp_registry_search/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_security/README.rst
    • Updated table formatting for improved readability.
  • spp_security/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_service_points/README.rst
    • Updated table formatting for improved readability.
  • spp_service_points/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_simulation/README.rst
    • Removed the Odoo Community Association banner image.
    • Updated table formatting for improved readability.
    • Removed the 'More details on development status' link.
  • spp_simulation/static/description/index.html
    • Updated the HTML document title.
    • Removed the Odoo Community Association banner image.
    • Adjusted heading levels for better structure.
    • Adjusted table column widths for better display.
    • Removed the 'More details on development status' link.
  • spp_source_tracking/README.rst
    • Updated table formatting for improved readability.
  • spp_source_tracking/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_starter_sp_mis/README.rst
    • Updated table formatting for improved readability.
  • spp_starter_sp_mis/static/description/index.html
    • Adjusted table column widths for better display.
  • spp_studio/README.rst
    • Updated table formatting for improved readability.
  • spp_studio/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_studio_api_v2/README.rst
    • Updated table formatting for improved readability.
  • spp_studio_api_v2/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_studio_change_requests/README.rst
    • Updated table formatting for improved readability.
  • spp_studio_change_requests/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_studio_events/README.rst
    • Updated table formatting for improved readability.
  • spp_studio_events/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_user_roles/README.rst
    • Updated table formatting for improved readability.
  • spp_user_roles/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_versioning/README.rst
    • Updated table formatting for improved readability.
  • spp_versioning/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
  • spp_vocabulary/README.rst
    • Updated table formatting for improved readability.
  • spp_vocabulary/static/description/index.html
    • Adjusted table column widths for better display.
    • Updated line breaks within table content.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.74%. Comparing base (2a25b61) to head (be0f610).

Additional details and impacted files
@@            Coverage Diff             @@
##             19.0      #57      +/-   ##
==========================================
- Coverage   72.02%   68.74%   -3.29%     
==========================================
  Files          65      398     +333     
  Lines        6148    31554   +25406     
==========================================
+ Hits         4428    21691   +17263     
- Misses       1720     9863    +8143     
Flag Coverage Δ
fastapi 86.73% <ø> (?)
spp_aggregation 78.01% <ø> (?)
spp_alerts 89.09% <ø> (?)
spp_api_v2 89.72% <ø> (?)
spp_api_v2_change_request 73.97% <ø> (?)
spp_api_v2_cycles 65.45% <ø> (?)
spp_api_v2_data 48.67% <ø> (?)
spp_api_v2_entitlements 68.43% <ø> (?)
spp_api_v2_products 64.39% <ø> (?)
spp_api_v2_service_points 63.12% <ø> (?)
spp_api_v2_vocabulary 43.70% <ø> (?)
spp_approval 43.33% <ø> (?)
spp_base_common 92.81% <ø> (?)
spp_dci_demo ?
spp_demo ?
spp_grm_demo ?
spp_mis_demo_v2 ?
spp_programs 49.56% <ø> (?)
spp_security 51.08% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request regenerates README files to fix a pre-commit hook failure. While this resolves the hook issue, the regeneration process has introduced several formatting problems in the tables within the README.rst files. Many tables now have reduced column widths, causing long identifiers and code blocks to wrap across multiple lines, sometimes breaking the reStructuredText syntax. This significantly degrades the readability of the documentation. I've added specific comments on a few representative files to illustrate the different types of issues. It's recommended to investigate the configuration of the oca-gen-addon-readme tool to prevent these formatting issues in the future, as this affects many modules.

Comment on lines +118 to +119
| ``spp_ | Read approval records |
| approval.group_approval_viewer`` | |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The automatic regeneration of this table has reduced the column width, causing the group names to wrap. This harms readability. For example, spp_approval.group_approval_viewer is now split across two lines. It would be better to adjust the table formatting to keep these identifiers on a single line, as they were previously. This issue is present in multiple README files across this PR.

Comment on lines +109 to +110
| ` | Full CRUD on audit rules and |
| `spp_audit.group_audit_manager`` | logs |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The table regeneration has introduced a formatting issue. The group name spp_audit.group_audit_manager is now split, and there's a stray backtick on a new line. This breaks the inline code formatting and makes the README harder to read and potentially render incorrectly. This type of formatting error appears in several other README files in this PR.

Comment on lines +476 to +477
<tr><td>`
<cite>spp_audit.group_audit_manager`</cite></td>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The generated HTML for this table cell is broken. It contains <cite> tags and backticks instead of the expected <tt> tag for code. This is likely a result of the formatting issue in the source README.rst file. Fixing the source should resolve this rendering problem. Similar HTML rendering issues are present in other generated index.html files.

Comment on lines +77 to +78
| ` | Detail model for editing |
| `spp.cr.detail.edit_individual`` | individual registrant data |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The table regeneration has introduced a formatting issue. The model name spp.cr.detail.edit_individual is now split, and there's a stray backtick on a new line. This breaks the inline code formatting. The same issue occurs for other models in this table (e.g., spp.cr.detail.exit_registrant). This should be fixed in the generation tool.

Comment on lines +59 to +147
+----------------------------------+----------------------------------+
| Model | Description |
+==================================+==================================+
| ``spp.program`` | Main program with managers, |
| | target type, and funding |
+----------------------------------+----------------------------------+
| ``spp.cycle`` | Time-bound distribution cycle |
| | within a program |
+----------------------------------+----------------------------------+
| ``spp.program.membership`` | Enrolls registrant in program |
| | with state tracking |
+----------------------------------+----------------------------------+
| ``spp.cycle.membership`` | Links registrant to specific |
| | cycle for entitlement prep |
+----------------------------------+----------------------------------+
| ``spp.entitlement`` | Cash entitlement with approval |
| | workflow |
+----------------------------------+----------------------------------+
| ``spp.entitlement.inkind`` | In-kind entitlement with |
| | product, quantity, warehouse |
+----------------------------------+----------------------------------+
| ``spp.payment`` | Individual payment linked to |
| | cash entitlement |
+----------------------------------+----------------------------------+
| ``spp.payment.batch`` | Groups payments for batch |
| | processing and reconciliation |
+----------------------------------+----------------------------------+
| ``spp.payment.batch.tag`` | Tags for categorizing payment |
| | batches |
+----------------------------------+----------------------------------+
| ``spp.eligibility.manager`` | Wrapper for eligibility manager |
| | implementations |
+----------------------------------+----------------------------------+
| `` | Base eligibility manager |
| spp.program.membership.manager`` | (abstract) |
+----------------------------------+----------------------------------+
| ``spp.prog | Default eligibility |
| ram.membership.manager.default`` | implementation |
+----------------------------------+----------------------------------+
| ``spp.deduplication.manager`` | Wrapper for deduplication |
| | manager implementations |
+----------------------------------+----------------------------------+
| ``sp | Notification manager for |
| p.program.notification.manager`` | beneficiary communications |
+----------------------------------+----------------------------------+
| ``spp.program.manager`` | Wrapper for program lifecycle |
| | manager implementations |
+----------------------------------+----------------------------------+
| ``spp.program.manager.default`` | Default program manager |
| | implementation |
+----------------------------------+----------------------------------+
| ``spp.cycle.manager`` | Wrapper for cycle manager |
| | implementations |
+----------------------------------+----------------------------------+
| ``spp.cycle.manager.default`` | Default cycle manager |
| | implementation |
+----------------------------------+----------------------------------+
| ``s | Wrapper for entitlement manager |
| pp.program.entitlement.manager`` | implementations |
+----------------------------------+----------------------------------+
| ``spp.progr | Default entitlement manager |
| am.entitlement.manager.default`` | implementation |
+----------------------------------+----------------------------------+
| ``spp.pr | Cash entitlement manager with |
| ogram.entitlement.manager.cash`` | amount calculation |
+----------------------------------+----------------------------------+
| ``spp.prog | In-kind entitlement manager with |
| ram.entitlement.manager.inkind`` | product configuration |
+----------------------------------+----------------------------------+
| ``spp.program.payment.manager`` | Wrapper for payment manager |
| | implementations |
+----------------------------------+----------------------------------+
| ``spp.p | Default payment manager |
| rogram.payment.manager.default`` | implementation |
+----------------------------------+----------------------------------+
| ``spp.compliance.manager`` | Wrapper for compliance manager |
| | implementations |
+----------------------------------+----------------------------------+
| `` | Default compliance manager with |
| spp.compliance.manager.default`` | CEL support |
+----------------------------------+----------------------------------+
| ``spp.program.fund`` | Tracks program budget and fund |
| | utilization |
+----------------------------------+----------------------------------+
| ``spp.program.fund.report.view`` | Fund balance reporting view |
+----------------------------------+----------------------------------+
| ``sp | Tracks duplicate membership |
| p.program.membership.duplicate`` | records |
+----------------------------------+----------------------------------+

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The model names in this table are now wrapped across multiple lines, making the table very difficult to read. This is a significant degradation in documentation quality and should be addressed by adjusting the table generation logic.

@emjay0921 emjay0921 changed the title chore: regenerate READMEs and remove duplicate readme fragments chore: fix 19.0 pre-commit and test failures Feb 20, 2026
- spp_grm: migrate res_config_settings view to Odoo 19 app/block/setting
  structure (old xpath //div[hasclass('settings')] no longer exists)
- spp_mis_demo_v2: update test assertions for 7th program
  (conditional_child_grant) added in recent merge
`manual: true` is not valid pre-commit syntax and gets silently
ignored, causing oca-gen-addon-readme and oca-gen-external-dependencies
to run in CI. The README hook then fails due to platform-dependent
docutils table rendering differences between Ubuntu (CI) and macOS.

Replace with `stages: [manual]` which is the correct pre-commit way
to exclude hooks from normal runs.
The codecov/project check fails on coverage decreases with no config.
Set project status to informational so it reports but doesn't block,
while keeping patch coverage as the gating check.
detect_modules.py was counting README.rst, static/description/, and
readme/ fragment changes as module code changes. This caused CI to
test 62 modules for a docs-only PR, uploading coverage for untested
modules and dropping the codecov/project percentage.

Now ignores documentation-only file changes, reducing detected modules
from 62 to 7 (only actual code changes + critical modules).
The res_config_settings_views.xml referenced fields
(helpdesk_mgmt_portal_select_team, etc.) that were never defined
in spp_grm's res.config.settings model — leftover from the
helpdesk_mgmt fork. No menu pointed to its action either.

Removes the dead view file and its manifest entry.
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