TIP: You can type at any time to perform a new search.
Sale Order Line Position
sale_order_line_position · OCA/sale-reporting
- Repository
- OCA/sale-reporting · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sales
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-reporting
- Last tracking update
- 2026-08-07 09:06:36
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Weblate, Nils Coenen, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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)
New fields (0)
No new fields.
Public methods (1)-
sale_recompute_positions(self, report_ref, res_ids)
New fields (1)
-
disable_sale_position_recomputeBooleanstring='Do not recompute positions on sale orders'
No public methods.
New fields (1)
-
disable_sale_position_recomputeBooleanreadonly=Falserelated='company_id.disable_sale_position_recompute'
No public methods.
New fields (1)
-
locked_positionsBooleancompute='_compute_locked_positions'
-
action_confirm(self) -
action_quotation_send(self) -
recompute_positions(self)
New fields (2)
-
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…