Product supplier info per variant
product_variant_supplierinfo · OCA/product-variant
Merged into product in 11.0
Health
58/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 117 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
2 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
ProductProduct— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceProductSupplierInfo— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_normal_form_view_sellers |
product.product.form.sellers | product.product | form | Inherits product.product_variant_easy_edit_view |
product_supplierinfo_form_view |
product.supplierinfo | form | Inherits product.product_supplierinfo_form_view | |
product_supplierinfo_tree_view |
product.supplierinfo | tree | Inherits product.product_supplierinfo_tree_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (6)
-
seller_delayIntegerhelp='This is the average delay in days between the purchase order confirmation and the receipts for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays.'related='seller_ids.delay'string='Supplier Lead Time' -
seller_idMany2onehelp='Main Supplier who has highest priority in Supplier List.'related='seller_ids.name'relation='res.partner'string='Main Supplier' -
seller_idsMany2many → product.supplierinfocompute='_compute_seller_ids' args: 'product.supplierinfo' -
seller_qtyFloathelp='This is minimum quantity to purchase from Main Supplier.'related='seller_ids.min_qty'string='Supplier Min Quantity' -
tmpl_seller_idsMany2many → product.supplierinfocompute='_compute_seller_ids' args: 'product.supplierinfo' -
variant_seller_idsOne2many → product.supplierinfoargs: 'product.supplierinfo', 'product_id'
No public methods.
New fields (1)
-
product_idMany2one → product.productcomodel_name='product.product'help='When this field is filled in, the vendor data will onlyapply to the variant.'string='Product variant'
-
create(self, vals)@api.model -
write(self, vals)@api.multi
Loading…
Loading…