Sale Order Line Position

sale_order_line_position
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/19.0/sale_order_line_position
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Nils Coenen
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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 xpath Inherits base.res_config_settings_view_form
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
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)
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/18.0/sale_order_line_position
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSThierry Ducrest, Weblate, OCA-git-bot, oca-ci, Khôi (Kiên Kim)
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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 xpath Inherits base.res_config_settings_view_form
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
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)
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/17.0/sale_order_line_position
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Duy Do Anh, ¨duyda¨
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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 xpath Inherits base.res_config_settings_view_form
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
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)
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/16.0/sale_order_line_position
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Orsi, Anna Janiszewska, oca-ci, Niels Göttsch
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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 div Inherits base.res_config_settings_view_form
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
Models touched (5)

New fields (0)

No new fields.

Public methods (2)
  • render_qweb_pdf(self, res_ids=None, data=None)
  • sale_recompute_positions(self, 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)
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/15.0/sale_order_line_position
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, Weblate, OCA-git-bot, Anna Janiszewska, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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 div Inherits base.res_config_settings_view_form
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
Models touched (5)

New fields (0)

No new fields.

Public methods (2)
  • render_qweb_pdf(self, res_ids=None, data=None)
  • sale_recompute_positions(self, 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)
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/14.0/sale_order_line_position
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Orsi, Dũng (Trần Đình), nguyen hoang hiep
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_saleorder_document report_saleorder_document ir.ui.view qweb Inherits sale.report_saleorder_document
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (0)

No new fields.

Public methods (2)
  • render_qweb_pdf(self, res_ids=None, data=None)
  • sale_recompute_positions(self, res_ids)

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)
REPOSITORY
REPOSITORYOCA/sale-reporting
GIT
GIThttps://github.com/OCA/sale-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-reporting/tree/13.0/sale_order_line_position
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSThierry Ducrest, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_saleorder_document report_saleorder_document ir.ui.view qweb Inherits sale.report_saleorder_document
view_order_form_inherit sale.order.form.sale.inherit sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (1)
  • locked_positions Boolean
    compute='_compute_locked_positions'
Public methods (2)
  • 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)