-
Notifications
You must be signed in to change notification settings - Fork 22
[18.0][MIG] product_unique_internal_reference: Migration to 18.0 #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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_unique_internal_reference module from a previous version to Odoo 18.0. The module ensures unique internal references for products across companies and handles various scenarios including product templates, variants, and multi-company configurations.
Key Changes:
- Migration of all module files to version 18.0
- Updated manifest and version information
- Comprehensive test suite covering duplicate reference scenarios
- Multi-company aware validation logic
Reviewed Changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
__manifest__.py |
Updated version to 18.0.1.0.0 and module metadata |
models/product_template.py |
Added validation constraints for unique internal references in templates |
models/product_product.py |
Added validation constraints for unique internal references in product variants |
tests/test_product_unique_internal_reference.py |
Comprehensive test suite covering all duplicate reference scenarios |
hooks.py |
Pre-installation hook to check for existing conflicting references |
i18n/es.po |
Spanish translation file for error messages and UI text |
| Various documentation files | README, description, and contributor information |
| "Exception" | ||
| msgstr "" | ||
| "Las referencias internas no son iguales, esto no debería haber lanzado una " | ||
| "excepción" |
Copilot
AI
Oct 1, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .po file is missing a blank line at the end of the file, which is required by coding guidelines.
496cfcc to
77ff40c
Compare
No description provided.