Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
0.1
Category
Sales Management
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.agilebg.com/
Last tracking update
2026-08-07 06:56:11
Authors
Odoo Community Association (OCA), Agile Business Group
Maintainers
Odoo Community Association (OCA), Agile Business Group
Committers
Lorenzo Battistini, Alexandre Fayolle, Alex Comba, Rudolf Schnapka, Nicola Malcontenti, Nicola Malcontenti-Agile BG
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
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)

New fields (0)

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)

New fields (0)

No new fields.

Public methods (0)

No public methods.