Pricelist Configurator By Bom
pricelist_configurator_by_bom · OCA/product-attribute
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
product_pricelist_configurator_line— Class 'product_pricelist_configurator_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceview_product_pricelist_configurator_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_product_pricelist_configurator_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) (3 occurrences in this file) migration-openerp-import · 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
Introduction
This module is a calculator that establishes the final product’s price based on different margins applied to the costs of the components of the bill of material. In OpenERP the product’s price is computed by the price list, every partner can have his price list and every price list item con be connected to a product.
This module provides a configurator where the user selects the final product and the partner. The system propose the BOM with the costs of every component. The user can finally set the margin for every component and compute the final price.
How To Use
- In the configurator, fill the Product and Partner fields, the system will automatically load the bom (changeable) and the lines
- Work on the several lines setting the margin you want to apply
- Compute the final price and create (or update) the price list
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_pricelist_configurator_form |
product.pricelist.configurator.form | product.pricelist.configurator | form | New |
view_product_pricelist_configurator_line_form |
product.pricelist.configurator.line.form | product.pricelist.configurator.line | form | New |
view_product_pricelist_configurator_line_tree |
product.pricelist.configurator.line.tree | product.pricelist.configurator.line | tree | New |
view_product_pricelist_configurator_tree |
product.pricelist.configurator.tree | product.pricelist.configurator | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (5)-
compute_final_price(self, cr, uid, ids, context=None) -
create_pricelist_item(self, cr, uid, ids, context=None) -
on_change_bom_id(self, cr, uid, ids, bom_id) -
on_change_product_id(self, cr, uid, ids, product_id) -
write_pricelist_item(self, cr, uid, ids, context=None)
No new fields.
Public methods (0)No public methods.