MRP BoM Line Net and Gross Quantity

mrp_bom_line_net_qty
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/16.0/mrp_bom_line_net_qty
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSGitHub, Weblate, 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 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_mrp_bom_form mrp.bom xpath Inherits mrp.mrp_bom_form_view
Models touched (1)

New fields (3)
  • diff_product_qty_gross_net Float
    compute='_compute_diff_product_qty_gross_net' digits='Product Price'
  • loss_percentage Float
    digits=(16, 2) help='Percentage loss during process' string='Loss %'
  • product_qty_net Float
    digits='Product Unit of Measure' help='Quantity after process' string='Net quantity'
Public methods (3)
  • calculate_qty_net_theoretical(self, product_qty_gross, loss_percentage)
  • set_product_qty_gross(self)
  • set_product_qty_net(self)