[18.0][MIG] stock_location_code: Migration to 18.0#708
Conversation
There was a problem hiding this comment.
Pull Request Overview
Migration module introducing a unique per-company location code for stock locations in Odoo 18.0.
- Adds a new Char field code to stock.location with SQL uniqueness constraint per company.
- Extends form and tree views to expose the new field.
- Adds standard README and metadata scaffolding for the module.
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 |
|---|---|
| stock_location_code/manifest.py | Declares new module, dependencies, and view data. |
| stock_location_code/models/stock_location.py | Introduces code field and uniqueness SQL constraint. |
| stock_location_code/views/stock_location_views.xml | Injects code field into form and tree views. |
| stock_location_code/README.rst | Auto-generated addon README describing purpose and credits. |
| stock_location_code/readme/DESCRIPTION.md | Short description for generator tooling. |
| stock_location_code/readme/CONTRIBUTORS.md | Lists contributors. |
| stock_location_code/static/description/index.html | Generated HTML description (non-functional docs). |
| stock_location_code/models/init.py | Imports model extension. |
| stock_location_code/init.py | Initializes models package. |
| stock_location_code/pyproject.toml | Build system configuration (whool). |
eantones
left a comment
There was a problem hiding this comment.
Add a spanish translations please
69d97ed to
c4bd0fb
Compare
c4bd0fb to
f13ad2b
Compare
| "license": "AGPL-3", | ||
| "website": "https://github.com/NuoBiT/odoo-addons", | ||
| "depends": [ | ||
| "stock", |
There was a problem hiding this comment.
Remove the trailing comma after 'stock' in the depends list. Single-item lists don't require a trailing comma.
| "stock", | |
| "stock" |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
f13ad2b to
19c782a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 18.0 #708 +/- ##
========================================
Coverage ? 100.00%
========================================
Files ? 3
Lines ? 7
Branches ? 0
========================================
Hits ? 7
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.