Sale Order Line Position
sale_order_line_position · OCA/sale-reporting
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 7 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module adds an auto computed position on sale order line. This position number is also printed on the report.
The position can be used to keep track of each line during the delivery and invoicing of the order with the customer. This is why there are related modules on account-invoice-reporting and stock-logisics-reporting.
The positions are recomputed when the sale order is printed, sent and set to confirm.
The positions are not changed on the line after the order has been confirmed, but if new line are added they will receive a position number.
An action is also availabled to manually recompute the positions.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_saleorder_document |
report_saleorder_document | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
res_config_settings_view_form |
sale.config.positioning.form | res.config.settings | form | Inherits base.res_config_settings_view_form |
view_order_form_inherit |
sale.order.form.sale.inherit | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
No new fields.
Public methods (1)-
sale_recompute_positions(self, report_ref, res_ids)
-
disable_sale_position_recomputeBooleanstring='Do not recompute positions on sale orders'
No public methods.
-
disable_sale_position_recomputeBooleanreadonly=Falserelated='company_id.disable_sale_position_recompute'
No public methods.
-
locked_positionsBooleancompute='_compute_locked_positions'
-
action_confirm(self) -
action_quotation_send(self) -
recompute_positions(self)
-
positionIntegerdefault=Falseindex=Truereadonly=True -
position_formattedCharcompute='_compute_position_formatted'
-
create(self, vals_list)@api.model_create_multi -
unlink(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…