Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.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.11 MB
Module directory on disk
Code analysis 0 migration notes 4 models 1 view 0 HTTP endpoints

Description

This module extends the functionality of Manufacturing Orders to automatically transfer produced by-products to the associated Sale Order once the Manufacturing Order is closed. This allows for easier invoicing and management of by-products sold to customers.

Key Features

  • Automatically adds/updates Sale Order Lines for by-products when a Manufacturing Order is marked as 'done'.
  • Prevents additional Manufacturing Orders or procurements from being triggered for these by-product lines, as they are a result of existing production.
  • Ensures accurate tracking of by-product quantities on the Sale Order for invoicing purposes.

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
res_config_settings_view_form_inherit_sale_order_add_byproduct res.config.settings.view.form.inherit.sale.order.add.byproduct res.config.settings form Inherits mrp.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (0)

No new fields.

Public methods (1)
  • button_mark_done(self)
    Overrides the standard button_mark_done to also add by-products to the sale order.

New fields (1)
  • byproduct_note_template Char
    help='Template for the note on sale order lines created for by-products. You can use placeholders like {product_name} and {mo_name}.' string='By-product Note Template'
Public methods (0)

No public methods.

New fields (1)
  • byproduct_note_template Char
    readonly=False related='company_id.byproduct_note_template'
Public methods (0)

No public methods.

New fields (1)
  • is_mrp_byproduct_line Boolean
    default=False help="If True, this sale order line was automatically added from a Manufacturing Order's by-product production and should not trigger new procurements." string='Added from MO By-product'
Public methods (0)

No public methods.