Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 140 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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.03 MB
Module directory on disk
Code analysis 5 migration notes 2 models 4 views 0 HTTP endpoints

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

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 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.