Purchase Order Line Sequence

purchase_order_line_sequence
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, cyrilmanuel
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The sequence in PO line is propagated to the Stock moves. The sequence
number appears in the PO form view and in the report.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (4)

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Append the default sequence. Other modules might want to update the context of `order_line` as well. This will not scale overwriting the attribute in the view.
  • write(self, line_values)

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_order_line_sequence
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSMiquel Raïch, JordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, Hector Vior, AEstLo
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds a visible line-number sequence to purchase orders. The sequence
number appears in the PO form view, in the purchase order/quotation
reports, and is propagated to the related vendor bill lines.

When `stock_picking_line_sequence` is also installed, the glue module
`purchase_stock_line_sequence` is auto-installed and propagates this
sequence to the related stock moves as well.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (1)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Append the default sequence. Other modules might want to update the context of `order_line` as well. This will not scale overwriting the attribute in the view.

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/17.0/purchase_order_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSStefan Rijnhart, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The sequence in PO line is propagated to the Stock moves. The sequence
number appears in the PO form view and in the report.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (4)

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Append the default sequence. Other modules might want to update the context of `order_line` as well. This will not scale overwriting the attribute in the view.
  • write(self, line_values)

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/16.0/purchase_order_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (4)

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, line_values)

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_order_line_sequence
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, SergiCForgeFlow, OriolMForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - sale
    - sales_team
    - payment
    - utm
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (4)

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, line_values)

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/14.0/purchase_order_line_sequence
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSDenis Roussel, Daniel Reis, OCA Transbot, Miquel Raïch, oca-travis, Weblate, OCA-git-bot, Michael Tietz, oca-ci, OriolMForgeFlow, Cecile Jallais
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - sale
    - sales_team
    - payment
    - utm
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (4)

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, line_values)

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/13.0/purchase_order_line_sequence
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, OriolMForgeFlow, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
Models touched (3)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • copy(self, default=None)
  • write(self, line_values)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • sequence2 Integer
    help='Displays the sequence of the line in the purchase order.' readonly=True related='sequence' args: 'Sequence'
Public methods (1)
  • create(self, values)
    @api.model
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/12.0/purchase_order_line_sequence
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSOCA Transbot, ahenriquez, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - purchase
    - sale
    - sales_team
    - payment
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • copy(self, default=None)
    @api.multi
  • write(self, line_values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • sequence2 Integer
    help='Displays the sequence of the line in the purchase order.' readonly=True related='sequence' args: 'Sequence'
Public methods (1)
  • create(self, values)
    @api.model
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/10.0/purchase_order_line_sequence
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA Transbot, ahenriquez, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - sale
    - sales_team
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • copy(self, default=None)
    @api.multi
  • write(self, line_values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.'
  • sequence2 Integer
    help='Displays the sequence of the line in the purchase order.' readonly=True related='sequence'
Public methods (1)
  • create(self, values)
    @api.model
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/9.0/purchase_order_line_sequence
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA Transbot, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_invoice_line_sequence
OCA/stock-logistics-workflow:
    - stock_picking_line_sequence
odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
    - sale
    - sales_team
    - sale_stock
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line field Inherits purchase.purchase_order_line_form2
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (2)
  • copy(self, default=None)
    @api.multi
  • write(self, line_values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of this line when displaying the purchase order.'
  • sequence2 Integer
    help='Shows the sequence of this line in the purchase order.' readonly=True related='sequence'
Public methods (2)
  • copy(self, default=None)
    @api.multi
  • create(self, values)
    @api.model