[18.0][MIG] account_asset_management_extension: Migration to 18.0#754
[18.0][MIG] account_asset_management_extension: Migration to 18.0#754
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new Odoo module called account_asset_management_extension for version 18.0 that extends the base account asset management functionality with additional fields and features.
- Adds new fields to account assets including invoice reference, invoice date, quantity, tax base amount, and tax information
- Implements validation logic to ensure consistency between asset data and related invoice line data
- Provides a new user interface tab "Other Information" to display the extended asset fields
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
__manifest__.py |
Module manifest defining dependencies and basic metadata |
__init__.py |
Module initialization importing models |
models/__init__.py |
Models package initialization |
models/account_asset.py |
Core asset model extension with new fields and validation logic |
models/account_move.py |
Account move model extension for asset value preparation |
views/account_asset.xml |
UI view extending asset form with "Other Information" tab |
i18n/es.po |
Spanish translations for the module |
readme/ |
Documentation files including description and contributors |
static/description/index.html |
Generated HTML documentation |
pyproject.toml |
Build system configuration |
README.rst |
Main documentation file |
| #: code:addons/account_asset_management_extension/models/account_asset.py:0 | ||
| #, python-format | ||
| msgid "Quantity must be the same as the one in the invoice line: %s" | ||
| msgstr "La cantidad debe ser la misma que la establecida en la línea de factura: %s" |
There was a problem hiding this comment.
The .po file is missing a blank line at the end of the file as required by coding guidelines.
|
|
||
| { | ||
| "name": "Account Asset Management Extension", | ||
| "summary": "This module adds additional fields in assets", |
There was a problem hiding this comment.
The summary in the manifest should be consistent with the description in readme/DESCRIPTION.md. The readme says 'This module adds additional fields on assets' but the manifest says 'in assets'.
…d on asset. field without readonly states
…nit price instead of total price of the asset
…d with unit price instead of total price of the asset" This reverts commit 40ae7a0.
5f31907 to
df77797
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #754 +/- ##
=======================================
Coverage ? 46.15%
=======================================
Files ? 4
Lines ? 78
Branches ? 20
=======================================
Hits ? 36
Misses ? 42
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.