MRP BoM Product Price Margin

mrp_bom_product_price_margin
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/16.0/mrp_bom_product_price_margin
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGRAP - Custom
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Quentin Dupont, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/margin-analysis:
    - product_standard_margin
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_mrp_bom_sale_product_margin_form mrp.bom xpath Inherits mrp.mrp_bom_form_view
view_mrp_bom_tree mrp.bom xpath Inherits mrp.mrp_bom_tree_view
Models touched (3)

New fields (6)
  • currency_id Many2one
    related='product_tmpl_id.currency_id'
  • diff_product_bom_standard_price Boolean
    compute='_compute_diff_product_bom_standard_price' help="Technical field used to display or hide button 'Apply this cost to Product standard price' in the form view"
  • product_margin_rate Float
    related='product_tmpl_id.standard_margin_rate'
  • product_sale_price Float
    related='product_tmpl_id.list_price' string='Product Sale Price'
  • product_standard_price Float
    compute='_compute_product_standard_price'
  • standard_price Float
    compute='_compute_standard_price' digits='Product Price' help='Calculated with raw components cost divided by the BoM quantity.' string='BoM Unit Cost' tracking=True
Public methods (1)
  • set_product_standard_price(self)

New fields (4)
  • currency_id Many2one
    related='product_id.currency_id'
  • standard_price_subtotal Float
    compute='_compute_standard_price_subtotal' string='Subtotal price'
  • standard_price_subtotal_percentage Float
    compute='_compute_standard_price_subtotal_percentage' digits=(16, 3) string='Subtotal price %'
  • standard_price_unit Float
    compute='_compute_standard_price_unit'
Public methods (0)

No public methods.

New fields (1)
  • standard_price Float
    tracking=True
Public methods (0)

No public methods.