Sale Stock Line Customer Reference
sale_stock_line_customer_ref · OCA/sale-workflow
Health
64/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 22 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_refCharstring='Customer Ref.'
No public methods.
New fields (2)
-
customer_refCharcompute='_compute_customer_ref'store=True -
customer_ref_sale_line_idMany2one → sale.order.linecomodel_name='sale.order.line'compute='_compute_customer_ref_sale_line_id'index=Truestore=Truestring='Sale Line With Customer Ref.'
No public methods.
New fields (1)
-
customer_refCharrelated='move_id.customer_ref'
-
update_related_packages(self, vals)@contextmanagerKeep packages in sync. -
write(self, vals)
New fields (1)
-
has_customer_refBooleancompute='_compute_has_customer_ref'help="Technical field to display 'Customer Ref' column in a package level."
No public methods.
New fields (1)
-
has_customer_refBooleancompute='_compute_has_customer_ref'help="Technical field to display 'Customer Ref' column on moves."
-
action_detailed_operations(self)
New fields (1)
-
customer_refCharhelp='Customer reference coming from the sale order line.'string='Customer Ref.'
No public methods.
Loading…