Sale Order Line Delivery State

sale_order_line_delivery_state
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_order_line_delivery_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, ArnauCForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
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 odoo module add delivery state on the sale order line. It is based
on the module sale_delivery_state, which adds the field at sale order
level.

Delivery state is computed based on qty_delivered field on sale order
line.

The state of the sale order line can be forced to fully delivered in
case some quantities were cancelled by the customer and you consider you
have nothing more to deliver.

Sale order lines can have products or services, as long as the field
qty_delivered is set, it will trigger the computation of delivery state.

This module also works with delivery.carrier fees that are added as a
sale order line. Thoses line are special as they will never be
considered delivered. Delivery fees lines are ignored in the computation
of the delivery state.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form sale.order.form - sale_order_line_delivery_state sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_delivery_state' store=True args: [('no', 'No delivery'), ('unprocessed', 'Unprocessed'), ('partially', 'Partially processed'), ('done', 'Done')]
  • force_delivery_state Boolean
    help='Allow to enforce done state of delivery, for instance if some quantities were cancelled'
Public methods (2)
  • action_force_delivery_state(self)
  • action_unforce_delivery_state(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/sale_order_line_delivery_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, Oihane Crucelaegui, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
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 (1)
XML IDNameModelTypeStatus
view_order_form sale.order.form - sale_order_line_delivery_state sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_line_delivery_state' store=True args: [('no', 'No delivery'), ('unprocessed', 'Unprocessed'), ('partially', 'Partially processed'), ('done', 'Done')]
  • force_delivery_state Boolean
    help='Allow to enforce done state of delivery, for instance if some quantities were cancelled'
Public methods (2)
  • action_force_delivery_state(self)
  • action_unforce_delivery_state(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_order_line_delivery_state
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Dhaval Talpada
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
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 (1)
XML IDNameModelTypeStatus
view_order_form sale.order.form - sale_order_line_delivery_state sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_line_delivery_state' store=True args: [('no', 'No delivery'), ('unprocessed', 'Unprocessed'), ('partially', 'Partially processed'), ('done', 'Done')]
  • force_delivery_state Boolean
    help='Allow to enforce done state of delivery, for instance if some quantities were cancelled'
Public methods (2)
  • action_force_delivery_state(self)
  • action_unforce_delivery_state(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/sale_order_line_delivery_state
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, oca-ci, Alvaro, Borruso
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:57
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
view_order_form sale.order.form - sale_order_line_delivery_state sale.order xpath Inherits sale.view_order_form
view_order_line_search sale.order.line.delivery.state.search sale.order.line xpath Inherits sale.view_sales_order_line_filter
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_line_delivery_state' store=True string='Delivery state' args: [('no', 'No delivery'), ('unprocessed', 'Unprocessed'), ('partially', 'Partially processed'), ('done', 'Done')]
  • force_delivery_state Boolean
    help='Allow to enforce done state of delivery, for instance if some quantities were cancelled' string='Force delivery state'
Public methods (2)
  • action_force_delivery_state(self)
  • action_unforce_delivery_state(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_order_line_delivery_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSJordiMForgeFlow, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
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 (1)
XML IDNameModelTypeStatus
view_order_form sale.order.form - sale_order_line_delivery_state sale.order xpath Inherits sale.view_order_form
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_line_delivery_state' store=True string='Delivery state' args: [('no', 'No delivery'), ('unprocessed', 'Unprocessed'), ('partially', 'Partially processed'), ('done', 'Done')]
  • force_delivery_state Boolean
    help='Allow to enforce done state of delivery, for instance if some quantities were cancelled' string='Force delivery state'
Public methods (2)
  • action_force_delivery_state(self)
  • action_unforce_delivery_state(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] sale_order_line_delivery_state: Migration to 19.0 (#4285)