Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.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.4 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

Description

Handle gross and net quantity on BoM lines thanks to loss percentage Fill quantity (original one is 'gross quantity') : it set automatically 'net quantity' Fill loss percentage, Odoo will show two buttons to calculate net or 'gross quantity' You can also set 'net quantity' and calculate 'gross quantity' with loss percentage

Here are the added fields

/!Line with difference with theorical values are set in yellow

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 1

XML IDNameModelTypeStatus
view_mrp_bom_form mrp.bom form Inherits mrp.mrp_bom_form_view

HTTP endpoints 0

No HTTP endpoints found for this module.

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)

Loading…