[18.0][MIG] stock_unique_serial: Migration to 18.0#746
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the stock_unique_serial module from a previous version to Odoo 18.0. The module ensures that serial numbers can only exist in one stock location with quantity, preventing duplicate serial number assignments.
- Migration of module to version 18.0.1.0.0
- Addition of proper documentation structure (README, description files)
- Implementation of validation logic for unique serial numbers in stock quants
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
__manifest__.py |
Updated version to 18.0.1.0.0 and module metadata |
__init__.py |
Module initialization file importing models |
models/__init__.py |
Models initialization importing stock_quant |
models/stock_quant.py |
Core validation logic preventing duplicate serial numbers |
readme/DESCRIPTION.md |
Module description for documentation generation |
readme/CONTRIBUTORS.md |
Contributors list for documentation |
README.rst |
Generated documentation file |
static/description/index.html |
Generated HTML documentation |
pyproject.toml |
Build configuration file |
| @@ -0,0 +1,2 @@ | |||
| This module ensures that the serial number have only one stock location | |||
There was a problem hiding this comment.
Corrected grammar - 'serial number' should be plural or use 'a' article.
| This module ensures that the serial number have only one stock location | |
| This module ensures that serial numbers have only one stock location |
| "summary": "This module ensures that the serial number have only one " | ||
| "stock location with quantity", |
There was a problem hiding this comment.
Corrected grammar - 'serial number' should be plural or use 'a' article.
| "summary": "This module ensures that the serial number have only one " | |
| "stock location with quantity", | |
| "summary": "This module ensures that serial numbers have only one " | |
| "stock location with quantity.", |
|
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. |
No description provided.