Skip to content

[18.0][MIG] product_multi_unique_barcode: Migration to 18.0#730

Open
deeniiz wants to merge 4 commits into18.0from
18.0-mig-product_multi_unique_barcode
Open

[18.0][MIG] product_multi_unique_barcode: Migration to 18.0#730
deeniiz wants to merge 4 commits into18.0from
18.0-mig-product_multi_unique_barcode

Conversation

@deeniiz
Copy link
Copy Markdown
Collaborator

@deeniiz deeniiz commented Sep 30, 2025

No description provided.

Copilot AI review requested due to automatic review settings September 30, 2025 13:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread product_multi_unique_barcode/models/product_barcode.py Outdated
Comment thread product_multi_unique_barcode/models/__init__.py
Comment thread product_multi_unique_barcode/__init__.py
@deeniiz deeniiz force-pushed the 18.0-mig-product_multi_unique_barcode branch from f4347ea to 4154aaa Compare October 1, 2025 10:41
@deeniiz deeniiz requested a review from eantones October 1, 2025 10:45
@deeniiz deeniiz force-pushed the 18.0-mig-product_multi_unique_barcode branch from 4154aaa to 9c73beb Compare March 10, 2026 14:44
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 10, 2026

Codecov Report

❌ Patch coverage is 54.54545% with 5 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (18.0@4b294fd). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...uct_multi_unique_barcode/models/product_barcode.py 44.44% 5 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@deeniiz deeniiz force-pushed the 18.0-mig-product_multi_unique_barcode branch from 9c73beb to 47f5903 Compare March 12, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants