Skip to content

fix(modules): add missing static/description/index.html for 7 modules#75

Merged
emjay0921 merged 1 commit into19.0from
fix/missing-static-description
Mar 6, 2026
Merged

fix(modules): add missing static/description/index.html for 7 modules#75
emjay0921 merged 1 commit into19.0from
fix/missing-static-description

Conversation

@emjay0921
Copy link
Contributor

Why is this change needed?

Odoo requires static/description/index.html to exist for all modules in the addons path. These 7 newer modules were missing it, causing FileNotFoundError during module loading/installation.

How was the change implemented?

Added minimal static/description/index.html files to:

  • spp_aggregation
  • spp_api_v2_simulation
  • spp_dci_demo
  • spp_metrics_core
  • spp_metrics_services
  • spp_statistic
  • spp_statistic_studio

How to test manually

  • Install any module (e.g. spp_base) with all addons paths configured — should no longer get FileNotFoundError

Odoo requires static/description/index.html to exist for all modules
in the addons path. These 7 modules were missing it, causing
FileNotFoundError during module loading.
@gemini-code-assist
Copy link

Summary of Changes

Hello, 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 addresses a critical issue where several newer Odoo modules were failing to load or install due to the absence of a mandatory static/description/index.html file. By introducing minimal placeholder HTML files into these modules, the change prevents FileNotFoundError exceptions, thereby stabilizing module operations and ensuring proper system functionality.

Highlights

  • Bug Fix: Resolved FileNotFoundError during Odoo module loading/installation by adding the required static/description/index.html file to seven modules.
  • Module Compliance: Ensured compliance with Odoo's requirement for all modules to have a static/description/index.html file.
Changelog
  • spp_aggregation/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
  • spp_api_v2_simulation/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
  • spp_dci_demo/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
  • spp_metrics_core/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
  • spp_metrics_services/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
  • spp_statistic/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
  • spp_statistic_studio/static/description/index.html
    • Added the required index.html file to resolve module loading errors.
Activity
  • No specific review comments or activity have been recorded for this pull request yet.
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.

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 correctly identifies and fixes a FileNotFoundError by adding the missing static/description/index.html files for seven modules. While this resolves the immediate issue, the content of these new files is very minimal. My review includes suggestions to enhance these description files by using the module's name and summary from their respective __manifest__.py files and adopting the standard Odoo HTML structure for module descriptions. This will improve the user experience by providing more informative details in the Odoo application list.

@@ -0,0 +1 @@
<h1>spp_aggregation</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_aggregation</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP Aggregation Engine</h2>
<p class="oe_slogan">
Unified aggregation service for statistics, simulations, and GIS queries
</p>
</div>
</section>

@@ -0,0 +1 @@
<h1>spp_api_v2_simulation</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_api_v2_simulation</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP Simulation API</h2>
<p class="oe_slogan">
REST API for simulation scenario management.
</p>
</div>
</section>

@@ -0,0 +1 @@
<h1>spp_dci_demo</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_dci_demo</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP DCI Demo</h2>
<p class="oe_slogan">
DCI Demo: Birth Verification for Child Benefit Enrollment
</p>
</div>
</section>

@@ -0,0 +1 @@
<h1>spp_metrics_core</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_metrics_core</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP Metrics Core</h2>
<p class="oe_slogan">
Unified metric foundation for statistics and simulations
</p>
</div>
</section>

@@ -0,0 +1 @@
<h1>spp_metrics_services</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_metrics_services</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP Metrics Services</h2>
<p class="oe_slogan">
Shared services for fairness, distribution, breakdown, and privacy
</p>
</div>
</section>

@@ -0,0 +1 @@
<h1>spp_statistic</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_statistic</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP Statistics</h2>
<p class="oe_slogan">
Publishable statistics based on CEL variables for dashboards, GIS, and APIs
</p>
</div>
</section>

@@ -0,0 +1 @@
<h1>spp_statistic_studio</h1>

Choose a reason for hiding this comment

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

medium

While this file fixes the FileNotFoundError, its content can be improved to align with Odoo's standards for module descriptions. Instead of using the technical module name in a plain <h1> tag, it's better to use the human-readable name and summary from the __manifest__.py file within a structured HTML block. This provides a more informative and user-friendly description in the Odoo Apps interface. Please consider the following suggestion which uses standard Odoo CSS classes for module descriptions.

Suggested change
<h1>spp_statistic_studio</h1>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">OpenSPP Statistics Studio</h2>
<p class="oe_slogan">
Studio UI for managing publishable statistics
</p>
</div>
</section>

@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.18%. Comparing base (5d7909f) to head (55d4a22).
⚠️ Report is 2 commits behind head on 19.0.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0      #75      +/-   ##
==========================================
+ Coverage   59.86%   62.18%   +2.31%     
==========================================
  Files         222      268      +46     
  Lines       12717    16109    +3392     
==========================================
+ Hits         7613    10017    +2404     
- Misses       5104     6092     +988     
Flag Coverage Δ
spp_aggregation 80.05% <ø> (?)
spp_api_v2_gis 72.24% <ø> (ø)
spp_api_v2_simulation 69.61% <ø> (ø)
spp_base_common 90.26% <ø> (ø)
spp_dci_demo 69.23% <ø> (?)
spp_metrics_core 94.59% <ø> (?)
spp_metrics_services 66.82% <ø> (?)
spp_mis_demo_v2 67.08% <ø> (?)
spp_programs 45.43% <ø> (ø)
spp_security 66.66% <ø> (ø)
spp_simulation 70.08% <ø> (ø)
spp_statistic 77.31% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 46 files with indirect coverage changes

🚀 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.

@emjay0921 emjay0921 merged commit cbf2691 into 19.0 Mar 6, 2026
27 checks passed
@emjay0921 emjay0921 deleted the fix/missing-static-description branch March 6, 2026 06:30
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.

2 participants