Product Multi Price
product_multi_price · OCA/product-attribute
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 12 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.08 MB
Module directory on disk
Code analysis
1 migration note
5 models
7 views
0 HTTP endpoints
Migration considerations
ProductMultiPrice— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. (2 occurrences in this file) migration-sql-constraints · 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
This module allows to set multiple prices to products and base pricelist rules on them.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_multi_price_form_view |
product.multi.price | form | New | |
product_multi_price_name_tree_view |
product.multi.price.name | list | New | |
product_multi_price_tree_view |
product.multi.price | list | New | |
product_multi_price_tree_view2 |
product.multi.price | list | Inherits product_multi_price.product_multi_price_tree_view | |
product_pricelist_item_form_view |
product.pricelist.item | form | Inherits product.product_pricelist_item_form_view | |
product_template_form_view |
product.template | form | Inherits product.product_template_form_view | |
product_variant_easy_edit_view |
product.product | Inherits product.product_variant_easy_edit_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (5)
-
company_idMany2one → res.companycomodel_name='res.company'readonly=Truerelated='name.company_id'store=True -
nameMany2one → product.multi.price.namerequired=True args: 'product.multi.price.name' -
name_textCharrelated='name.name' -
priceFloatdigits='Product Price' -
product_idMany2one → product.productcomodel_name='product.product'ondelete='cascade'required=True
No public methods.
New fields (2)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=True -
nameCharrequired=Truestring='Price Field Name'
No public methods.
New fields (2)
-
baseSelectionondelete={'multi_price': 'set default'}selection_add=[('multi_price', 'Other Price')] -
multi_price_nameMany2one → product.multi.price.namecomodel_name='product.multi.price.name'string='Other Price Name'
No public methods.
New fields (1)
-
price_idsOne2many → product.multi.pricecomodel_name='product.multi.price'depends_context=('company')inverse_name='product_id'string='Other Prices'
No public methods.
New fields (1)
-
price_idsOne2many → product.multi.pricecomodel_name='product.multi.price'compute='_compute_price_ids'inverse='_inverse_price_ids'string='Other Prices'
-
create(self, vals_list)@api.model_create_multiOverwrite creation for rewriting the prices (if set and having only one variant), after the variant creation, that is performed in super.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…