Sale delivery State

sale_delivery_state
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/19.0/sale_delivery_state
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGitHub, OCA-git-bot, oca-ci, Frédéric GRALL
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:48
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 odoo module add delivery state on the sale order.

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

This is usefull for other modules to provide the state of delivery. The
state of the sale order 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.

Sale order lines with the Skip Delivery State field set to True will be ignored when
computing the delivery state. This field is automatically set depending on the field
Sales > Configuration > Quotations & Orders > Skip Service products for Sale Delivery
State. If set to True, the field Skip Delivery State in sale order lines containing
service products will be automatically set to True, but it can manually changed.

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.

When the 'sale_stock' module is installed, the glue module
'sale_stock_delivery_state' should also be installed; this module is
designed to override the compute method of the delivery status field
from 'sale_stock'.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
sale_delivery_state_res_config_settings_view_form sale.delivery.state.res.config.settings.view.form res.config.settings setting Inherits sale.res_config_settings_view_form
sale_order_view_search_inherit_sale_inherit_delivery_status sale.order.search sale.order filter Inherits sale.sale_order_view_search_inherit_sale
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_status sale.order.tree sale.order field Inherits sale.view_order_tree
Models touched (4)

New fields (1)
  • skip_service_sale_delivery_state Boolean
    string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (1)
  • skip_service_sale_delivery_state Boolean
    readonly=False related='company_id.skip_service_sale_delivery_state' string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (2)
  • delivery_status Selection
    compute='_compute_oca_delivery_status' selection=[('pending', 'Not Delivered'), ('started', 'Started'), ('partial', 'Partially Delivered'), ('full', 'Fully Delivered')] store=True
  • 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)

New fields (1)
  • skip_sale_delivery_state Boolean
    compute='_compute_skip_sale_delivery_state' readonly=False store=True string='Skip Delivery State'
Public methods (0)

No public methods.

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_delivery_state
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Orsi, hparfr, oca-ci, Iria Alonso, Virendrasinh Dabhi
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.

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

This is usefull for other modules to provide the state of delivery. The
state of the sale order 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.

Sale order lines with the Skip Delivery State field set to True will be ignored when
computing the delivery state. This field is automatically set depending on the field
Sales > Configuration > Quotations & Orders > Skip Service products for Sale Delivery
State. If set to True, the field Skip Delivery State in sale order lines containing
service products will be automatically set to True, but it can manually changed.

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.

When the 'sale_stock' module is installed, the glue module
'sale_stock_delivery_state' should also be installed; this module is
designed to override the compute method of the delivery status field
from 'sale_stock'.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
sale_delivery_state_res_config_settings_view_form sale.delivery.state.res.config.settings.view.form res.config.settings setting Inherits sale.res_config_settings_view_form
sale_order_view_search_inherit_sale_inherit_delivery_status sale.order.search sale.order filter Inherits sale.sale_order_view_search_inherit_sale
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_status sale.order.tree sale.order field Inherits sale.view_order_tree
Models touched (4)

New fields (1)
  • skip_service_sale_delivery_state Boolean
    string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (1)
  • skip_service_sale_delivery_state Boolean
    readonly=False related='company_id.skip_service_sale_delivery_state' string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (2)
  • delivery_status Selection
    compute='_compute_oca_delivery_status' selection=[('pending', 'Not Delivered'), ('started', 'Started'), ('partial', 'Partially Delivered'), ('full', 'Fully Delivered')] store=True
  • 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)

New fields (1)
  • skip_sale_delivery_state Boolean
    compute='_compute_skip_sale_delivery_state' readonly=False store=True string='Skip Delivery State'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/sale_delivery_state
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Henry Backman, Iria Alonso, andrea
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
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 odoo module add delivery state on the sale order.

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

This is usefull for other modules to provide the state of delivery. The
state of the sale order 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.

When the 'sale_stock' module is installed, the glue module
'sale_stock_delivery_state' should also be installed; this module is
designed to override the compute method of the delivery status field
from 'sale_stock'.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
sale_delivery_state_res_config_settings_view_form sale.delivery.state.res.config.settings.view.form res.config.settings setting Inherits sale.res_config_settings_view_form
sale_order_view_search_inherit_sale_inherit_delivery_status sale.order.search sale.order filter Inherits sale.sale_order_view_search_inherit_sale
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_status sale.order.tree sale.order field Inherits sale.view_order_tree
Models touched (4)

New fields (1)
  • skip_service_sale_delivery_state Boolean
    string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (1)
  • skip_service_sale_delivery_state Boolean
    readonly=False related='company_id.skip_service_sale_delivery_state' string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (2)
  • delivery_status Selection
    compute='_compute_oca_delivery_status' store=True args: [('pending', 'Not Delivered'), ('partial', 'Partially Delivered'), ('full', 'Fully Delivered')]
  • 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)

New fields (1)
  • skip_sale_delivery_state Boolean
    compute='_compute_skip_sale_delivery_state' readonly=False store=True string='Skip Delivery State'
Public methods (0)

No public methods.

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_delivery_state
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSSébastien BEAU, Weblate, OCA-git-bot, oca-ci, Angel Rivas
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 (3)
XML IDNameModelTypeStatus
sale_delivery_state_res_config_settings_view_form sale.delivery.state.res.config.settings.view.form res.config.settings xpath Inherits sale.res_config_settings_view_form
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_status sale.order.tree sale.order field Inherits sale.view_order_tree
Models touched (4)

New fields (1)
  • skip_service_sale_delivery_state Boolean
    string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (1)
  • skip_service_sale_delivery_state Boolean
    readonly=False related='company_id.skip_service_sale_delivery_state' string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (2)
  • delivery_status Selection
    compute='_compute_oca_delivery_status' store=True args: [('pending', 'Not Delivered'), ('partial', 'Partially Delivered'), ('full', 'Fully Delivered')]
  • 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)

New fields (1)
  • skip_sale_delivery_state Boolean
    compute='_compute_skip_sale_delivery_state' readonly=False store=True string='Skip Delivery State'
Public methods (0)

No public methods.

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_delivery_state
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSCarlos Lopez, manu, Weblate, OCA-git-bot, oca-ci
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 (4)
XML IDNameModelTypeStatus
sale_delivery_state_res_config_settings_view_form sale.delivery.state.res.config.settings.view.form res.config.settings xpath Inherits sale.res_config_settings_view_form
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_state sale.order.tree sale.order field Inherits sale.view_order_tree
view_quotation_tree_inherit_delivery_state sale.order field Inherits sale.view_quotation_tree
Models touched (4)

New fields (1)
  • skip_service_sale_delivery_state Boolean
    string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (1)
  • skip_service_sale_delivery_state Boolean
    readonly=False related='company_id.skip_service_sale_delivery_state' string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_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)

New fields (1)
  • skip_sale_delivery_state Boolean
    compute='_compute_skip_sale_delivery_state' readonly=False store=True string='Skip Delivery State'
Public methods (0)

No public methods.

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_delivery_state
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, Daniel Reis, manu, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Pierrick Brun, oca-ci, Alessandro Uffreduzzi
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 (4)
XML IDNameModelTypeStatus
sale_delivery_state_res_config_settings_view_form sale.delivery.state.res.config.settings.view.form res.config.settings xpath Inherits sale.res_config_settings_view_form
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_state sale.order.tree sale.order field Inherits sale.view_order_tree
view_quotation_tree_inherit_delivery_state sale.order field Inherits sale.view_quotation_tree
Models touched (4)

New fields (1)
  • skip_service_sale_delivery_state Boolean
    string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (1)
  • skip_service_sale_delivery_state Boolean
    readonly=False related='company_id.skip_service_sale_delivery_state' string='Skip Service products for Sale Delivery State'
Public methods (0)

No public methods.

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_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)

New fields (1)
  • skip_sale_delivery_state Boolean
    compute='_compute_skip_sale_delivery_state' readonly=False store=True string='Skip Delivery State'
Public methods (0)

No public methods.

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_delivery_state
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexandre Fayolle, oca-travis, OCA-git-bot, Simone Orsi
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 (2)
XML IDNameModelTypeStatus
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_state sale.order.tree sale.order field Inherits sale.view_order_tree
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_sale_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/12.0/sale_delivery_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, Sébastien BEAU, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - 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
view_order_form_inherit_delivery_state sale.order.form.sale.stock sale.order field Inherits sale.view_order_form
view_order_tree_inherit_delivery_state sale.order.tree sale.order field Inherits sale.view_order_tree
Models touched (1)

New fields (2)
  • delivery_state Selection
    compute='_compute_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)