Product Pricelist Simulation
product_pricelist_simulation · OCA/product-attribute
Replaces
product_pricelist_margin (13.0) Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 13.0
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.07 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
0 HTTP endpoints
Description
This module extends the product pricelists feature to allow show price for all pricelists from a product form view.
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 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_view_simulation |
product.pricelist | Inherits product.product_pricelist_view | ||
product_template_form_view_pricelist_simulation |
product.template | form | Inherits product.product_template_only_form_view | |
view_pricelist_simulation_view_form |
wizard.preview.pricelist.form | wizard.preview.pricelist | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
show_in_simulationBooleandefault=True
No public methods.
New fields (6)
-
line_idsOne2many → wizard.preview.pricelist.linecomodel_name='wizard.preview.pricelist.line'compute='_compute_line_ids'inverse_name='simulation_id'string='Simulation Lines' -
price_dateDatedefault=fields.Date.context_todayrequired=Truestring='Date' -
product_idMany2one → product.productcomodel_name='product.product'domain="[('product_tmpl_id', '=', template_id)]"string='Product Variant' -
product_qtyFloatdefault=1required=Truestring='Quantity' -
template_idMany2one → product.templatecomodel_name='product.template'readonly=Truestring='Product Template' -
variant_countIntegercompute='_compute_variant_count'string='Variants Count'
-
default_get(self, fields)@api.model
New fields (5)
-
currency_idMany2one → res.currencycomodel_name='res.currency'readonly=Truerelated='pricelist_id.currency_id'string='Currency' -
priceMonetaryreadonly=Truestring='Unit Price' -
pricelist_idMany2one → product.pricelistcomodel_name='product.pricelist'readonly=True -
product_idMany2one → product.productcomodel_name='product.product'readonly=Truestring='Product Variant' -
simulation_idMany2one → wizard.preview.pricelistcomodel_name='wizard.preview.pricelist'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…