Skip to content
Health
85/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 7 Odoo series since 13.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.06 MB
Module directory on disk
Code analysis 0 migration notes 5 models 3 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_invoice_line_sale_line_position

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
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_recompute Boolean
    string='Do not recompute positions on sale orders'
Public methods (0)

No public methods.

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

No public methods.

New fields (1)
  • locked_positions Boolean
    compute='_compute_locked_positions'
Public methods (3)
  • action_confirm(self)
  • action_quotation_send(self)
  • recompute_positions(self)

New fields (2)
  • position Integer
    default=False index=True readonly=True
  • position_formatted Char
    compute='_compute_position_formatted'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…