Delivery Date Exclude Service

delivery_date_exclude_service
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/18.0/delivery_date_exclude_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, BCIM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, BCIM
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, twalter-c2c
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - 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
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides granular control over which service products impact the calculated expected delivery date on a Sales Order.

It works by directly filtering out the lead times from specific service lines before the final delivery date is determined.

1.  New Field: A boolean field named "Affect Delivery Date" is added to the product template ("Sales" tab, "Extra Info" section). It is visible only for products of type `service`.
2.  **Exclusion:** When a Sale Order line contains a Service Product where the "Affect Delivery Date" flag is unchecked:
    * The line's lead time is ignored.
    * This ensures the service product's delay is completely excluded from the final order date calculation.
3.  **Inclusion:** All other products (Physical Goods, and Services with the flag checked) contribute their standard lead time to the final delivery date.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_template_form_view product.template.common.form product.template group Inherits product.product_template_form_view
Models touched (3)

New fields (1)
  • service_affect_delivery_date Boolean
    help="By default, this service product won't impact the sales order delivery date computation unless this is flagged." string='Affect Delivery Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.