Skip to content
Health
64/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 22 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 14.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.07 MB
Module directory on disk
Code analysis 0 migration notes 6 models 7 views 0 HTTP endpoints

Description

This module allows you to add a customer reference on a sale order line. Lines sharing the same product but different customer references won't be merged together in stock transfers.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
package_level_form_view stock.package_level.form.inherit stock.package_level form Inherits stock.package_level_form_view
view_move_line_form stock.move.line.form.inherit stock.move.line form Inherits stock.view_move_line_form
view_order_form sale.order.form.inherit sale.order form Inherits sale.view_order_form
view_picking_form stock.picking.form.inherit stock.picking form Inherits stock.view_picking_form
view_quant_package_form stock.quant.package.form.inherit stock.quant.package form Inherits stock.view_quant_package_form
view_stock_move_line_detailed_operation_tree stock.move.line.operations.list.inherit stock.move.line list Inherits stock.view_stock_move_line_detailed_operation_tree
view_stock_move_operations stock.move.operations.form.inherit stock.move form Inherits stock.view_stock_move_operations

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (1)
  • customer_ref Char
    string='Customer Ref.'
Public methods (0)

No public methods.

New fields (2)
  • customer_ref Char
    compute='_compute_customer_ref' store=True
  • customer_ref_sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' compute='_compute_customer_ref_sale_line_id' index=True store=True string='Sale Line With Customer Ref.'
Public methods (0)

No public methods.

New fields (1)
  • customer_ref Char
    related='move_id.customer_ref'
Public methods (2)
  • update_related_packages(self, vals)
    @contextmanager
    Keep packages in sync.
  • write(self, vals)

New fields (1)
  • has_customer_ref Boolean
    compute='_compute_has_customer_ref' help="Technical field to display 'Customer Ref' column in a package level."
Public methods (0)

No public methods.

New fields (1)
  • has_customer_ref Boolean
    compute='_compute_has_customer_ref' help="Technical field to display 'Customer Ref' column on moves."
Public methods (1)
  • action_detailed_operations(self)

New fields (1)
  • customer_ref Char
    help='Customer reference coming from the sale order line.' string='Customer Ref.'
Public methods (0)

No public methods.

Loading…