Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
1.0.0
Category
Delivery
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/delivery-carrier
Last tracking update
2026-08-07 08:42:52
Authors
Camptocamp, Odoo Community Association (OCA), BCIM
Maintainers
Camptocamp, Odoo Community Association (OCA), BCIM
Committers
Weblate, twalter-c2c, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits product.product_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.