[18.0][MIG] maintenance_request_date_editable: Migration to 18.0#727
Open
[18.0][MIG] maintenance_request_date_editable: Migration to 18.0#727
Conversation
There was a problem hiding this comment.
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 |
871e64c to
126da10
Compare
126da10 to
b3f7fe0
Compare
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.