Skip to content

[18.0][MIG] maintenance_request_date_editable: Migration to 18.0#727

Open
deeniiz wants to merge 3 commits into18.0from
18.0-mig-maintenance_request_date_editable
Open

[18.0][MIG] maintenance_request_date_editable: Migration to 18.0#727
deeniiz wants to merge 3 commits into18.0from
18.0-mig-maintenance_request_date_editable

Conversation

@deeniiz
Copy link
Copy Markdown
Collaborator

@deeniiz deeniiz commented Sep 30, 2025

No description provided.

Copilot AI review requested due to automatic review settings September 30, 2025 09:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR migrates the maintenance_request_date_editable module from a previous Odoo version to 18.0. The module allows making the Request Date field editable in maintenance requests when enabled via company settings.

Key Changes

  • Module structure creation with standard Odoo files and directories
  • Implementation of company-specific configuration setting for date editability
  • UI customization to make request date conditionally editable based on configuration

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
__manifest__.py Module manifest with dependencies and metadata for v18.0
models/res_company.py Company model extension with date editable boolean field
models/res_config_settings.py Settings model to expose company configuration in UI
models/maintenance.py Maintenance request model with computed field for editability logic
views/res_config_settings.xml Configuration settings view with toggle for the feature
views/maintenance_views.xml Form view modifications to make date field conditionally readonly
i18n/es.po Spanish translations for the module
Documentation files README, description, and contributor information

Comment thread maintenance_request_date_editable/i18n/es.po
@deeniiz deeniiz force-pushed the 18.0-mig-maintenance_request_date_editable branch from 871e64c to 126da10 Compare September 30, 2025 09:45
@deeniiz deeniiz requested a review from eantones September 30, 2025 10:27
@deeniiz deeniiz force-pushed the 18.0-mig-maintenance_request_date_editable branch from 126da10 to b3f7fe0 Compare March 12, 2026 11:57
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

❌ Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (18.0@4b294fd). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...enance_request_date_editable/models/maintenance.py 75.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             18.0     #727   +/-   ##
=======================================
  Coverage        ?   90.47%           
=======================================
  Files           ?        5           
  Lines           ?       21           
  Branches        ?        1           
=======================================
  Hits            ?       19           
  Misses          ?        2           
  Partials        ?        0           

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

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.

2 participants