Arbore/arbore#155 add supplier name to purchase order lines in a separate column
This commit is contained in:
parent
8049272620
commit
fc3b037436
10 changed files with 338 additions and 0 deletions
50
product_supplier_name_purchase/README.md
Normal file
50
product_supplier_name_purchase/README.md
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Product Supplier Name in Purchase
|
||||
|
||||
## Overview
|
||||
|
||||
This module extends purchase order lines by adding the supplier's product name field. This allows users to see how the supplier refers to each product and enables sorting and filtering purchase order lines by the supplier's product name.
|
||||
|
||||
## Features
|
||||
|
||||
- **Supplier Product Name Field**: Displays the product name as defined by the supplier in the product supplier info
|
||||
- **Automatic Computation**: The field is automatically computed based on the selected partner and product
|
||||
- **Search and Filter**: Enables searching and filtering purchase order lines by supplier product name
|
||||
- **Sortable Column**: Allows sorting purchase order lines by supplier product name
|
||||
- **Multi-language Support**: Includes translations for Spanish, Catalan, and Galician
|
||||
|
||||
## Installation
|
||||
|
||||
1. Copy the module to your Odoo addons directory
|
||||
2. Update the apps list in Odoo
|
||||
3. Install the module from the Apps menu
|
||||
|
||||
## Usage
|
||||
|
||||
1. Go to Purchase → Purchase Orders
|
||||
2. Create or edit a purchase order
|
||||
3. Add purchase order lines with products that have supplier info configured
|
||||
4. The "Supplier Product Name" column will automatically show the supplier's name for each product
|
||||
5. Use this column to sort or filter the lines as needed
|
||||
|
||||
## Configuration
|
||||
|
||||
Make sure your products have supplier information configured:
|
||||
1. Go to Inventory → Products → Products
|
||||
2. Select a product and go to the "Purchase" tab
|
||||
3. Add vendor information with the supplier's product name
|
||||
|
||||
## Technical Details
|
||||
|
||||
- **Model Extended**: `purchase.order.line`
|
||||
- **New Field**: `product_supplier_name` (computed, stored)
|
||||
- **Dependencies**: `purchase`
|
||||
- **Version**: 16.0.1.0.0
|
||||
|
||||
## Author
|
||||
|
||||
**Criptomart**
|
||||
- Maintainer: Luis Nore
|
||||
|
||||
## License
|
||||
|
||||
AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
|
||||
Loading…
Add table
Add a link
Reference in a new issue