[18.0][MIG] purchase_order_new_line_uom: Migration to 18.0#734
[18.0][MIG] purchase_order_new_line_uom: Migration to 18.0#734
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the purchase_order_new_line_uom module from a previous version to Odoo 18.0. The module allows editing the unit of measure (UOM) on new purchase order lines that haven't been linked to any invoices or stock moves.
- Migration of module structure and files to 18.0 compatibility
- Addition of copyright headers and standardized file structure
- Implementation of view inheritance to control UOM field editability
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| views/purchase_views.xml | Implements view inheritance to make UOM field readonly when purchase order lines have invoices or moves |
| manifest.py | Module manifest with dependencies and metadata for 18.0 |
| README.rst | Module documentation with description and contributor information |
| readme/DESCRIPTION.md | Brief module description for documentation generation |
| readme/CONTRIBUTORS.md | List of module contributors |
| pyproject.toml | Python project configuration file |
| static/description/index.html | Generated HTML documentation file |
df2794e to
c209de2
Compare
| <field | ||
| name="invoice_lines" | ||
| column_invisible="1" | ||
| widget="many2many_tags" | ||
| /> |
There was a problem hiding this comment.
Duplicate field definition for 'invoice_lines'. This field is being added after finding the existing 'invoice_lines' field in the xpath, creating a duplicate field in the view which could cause rendering issues or unexpected behavior.
| <field | |
| name="invoice_lines" | |
| column_invisible="1" | |
| widget="many2many_tags" | |
| /> |
|
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.