Purchase Order Line Deep Sort

purchase_order_line_deep_sort
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_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, juancarlosonate-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - 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
This module was written to extend the functionality of purchase order
and allow you to manage sort of lines.

You can set the default sort order for the current company or you can
set sort order for a particular purchase order.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • po_line_direction_default Selection
    readonly=False related='company_id.default_po_line_direction' string='Sort Direction'
  • po_line_order_default Selection
    readonly=False related='company_id.default_po_line_order' string='Line Order'
Public methods (1)
  • onchange_po_line_order_default(self)
    @api.onchange('po_line_order_default')
    Reset direction line order when user remove order field value
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_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • po_line_direction_default Selection
    readonly=False related='company_id.default_po_line_direction' string='Sort Direction'
  • po_line_order_default Selection
    readonly=False related='company_id.default_po_line_order' string='Line Order'
Public methods (1)
  • onchange_po_line_order_default(self)
    @api.onchange('po_line_order_default')
    Reset direction line order when user remove order field value
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_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Stefan
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • po_line_direction_default Selection
    readonly=False related='company_id.default_po_line_direction' string='Sort Direction'
  • po_line_order_default Selection
    readonly=False related='company_id.default_po_line_order' string='Line Order'
Public methods (1)
  • onchange_po_line_order_default(self)
    @api.onchange('po_line_order_default')
    Reset direction line order when user remove order field value
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_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Prapassorn Sornkaew, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • po_line_direction_default Selection
    readonly=False related='company_id.default_po_line_direction' string='Sort Direction'
  • po_line_order_default Selection
    readonly=False related='company_id.default_po_line_order' string='Line Order'
Public methods (1)
  • onchange_po_line_order_default(self)
    @api.onchange('po_line_order_default')
    Reset direction line order when user remove order field value
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_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, OCA-git-bot, Tony Galmiche
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • po_line_direction_default Selection
    readonly=False related='company_id.default_po_line_direction' string='Sort Direction'
  • po_line_order_default Selection
    readonly=False related='company_id.default_po_line_order' string='Line Order'
Public methods (1)
  • onchange_po_line_order_default(self)
    @api.onchange('po_line_order_default')
    Reset direction line order when user remove order field value
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_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Sergio Teruel, oca-travis, 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 odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • po_line_direction_default Selection
    readonly=False related='company_id.default_po_line_direction' string='Sort Direction'
  • po_line_order_default Selection
    readonly=False related='company_id.default_po_line_order' string='Line Order'
Public methods (1)
  • onchange_po_line_order_default(self)
    @api.onchange('po_line_order_default')
    Reset direction line order when user remove order field value
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/11.0/purchase_order_line_deep_sort
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Sergio Teruel, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings.view.form.inherit.purchase.sort res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (2)
  • line_direction Selection
    default=<expr> selection=SORTING_DIRECTION string='Sort Direction'
  • line_order Selection
    default=<expr> selection=SORTING_CRITERIA string='Sort Lines By'
Public methods (3)
  • create(self, values)
    @api.model
  • onchange_line_order(self)
    @api.onchange('line_order')
  • write(self, values)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • default_po_line_direction Selection
    help='Select a sorting direction for purchase order lines.' selection=SORTING_DIRECTION string='Sort Direction'
  • default_po_line_order Selection
    help='Select a sorting criteria for purchase order lines.' selection=SORTING_CRITERIA string='Line Order'
Public methods (0)

No public methods.

New fields (2)
  • default_po_line_direction Selection
    related='company_id.default_po_line_direction' string='Sort Direction'
  • default_po_line_order Selection
    related='company_id.default_po_line_order' string='Line Order'
Public methods (0)

No public methods.