[18.0][MIG] account_bank_statement_balance_start_protection: Migration to 18.0#698
Open
[18.0][MIG] account_bank_statement_balance_start_protection: Migration to 18.0#698
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the account_bank_statement_balance_start_protection module from an earlier version to Odoo 18.0. The module provides protection for cash statement balance start fields by making them read-only and hiding certain fields when the statement is in specific states.
- Creates a complete new module structure for Odoo 18.0
- Implements balance start protection logic through model inheritance and view modifications
- Adds comprehensive documentation and project configuration files
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
__manifest__.py |
Module manifest with dependencies and metadata for version 18.0 |
models/account_bank_statement.py |
Extends account.bank.statement to add disable_balance_start field and protection logic |
views/account_views.xml |
View inheritance to make balance_start readonly and hide balance_end_real based on conditions |
README.rst |
Auto-generated documentation with module description and credits |
readme/DESCRIPTION.md |
Simple module description for documentation generation |
readme/CONTRIBUTORS.md |
Contributors list for documentation |
pyproject.toml |
Python project configuration using whool build system |
static/description/index.html |
Generated HTML documentation |
models/__init__.py |
Module imports for models package |
__init__.py |
Root module initialization |
19f7e01 to
1f3cfbb
Compare
1f3cfbb to
2102c83
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #698 +/- ##
=======================================
Coverage ? 58.82%
=======================================
Files ? 3
Lines ? 17
Branches ? 1
=======================================
Hits ? 10
Misses ? 7
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.