[18.0][MIG] product_multi_unique_barcode: Migration to 18.0#730
Open
[18.0][MIG] product_multi_unique_barcode: Migration to 18.0#730
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the product_multi_unique_barcode module from an earlier version to Odoo 18.0. The module serves as a glue module between product_unique_barcode and product_multi_barcode, providing unique barcode validation across multiple barcodes per product.
- Adds complete module structure with manifest, models, and documentation
- Implements company-aware barcode uniqueness validation
- Provides proper error handling for duplicate barcodes
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
__manifest__.py |
Module manifest defining dependencies and metadata for version 18.0 |
models/product_barcode.py |
Core model extending product.barcode with company-aware uniqueness constraints |
models/__init__.py |
Module imports for the models package |
__init__.py |
Root module imports |
README.rst |
Generated documentation file |
readme/DESCRIPTION.md |
Module description for documentation generation |
readme/CONTRIBUTORS.md |
Contributors list for documentation |
pyproject.toml |
Build system configuration |
static/description/index.html |
Generated HTML documentation |
f4347ea to
4154aaa
Compare
4154aaa to
9c73beb
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #730 +/- ##
=======================================
Coverage ? 54.54%
=======================================
Files ? 3
Lines ? 11
Branches ? 1
=======================================
Hits ? 6
Misses ? 5
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9c73beb to
47f5903
Compare
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.