Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:48
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
ArnauCForgeFlow, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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)

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
125 days ago
Last activity
13 days ago
Repository
OCA/sale-workflow
Pull request
[19.0][MIG] sale_order_line_delivery_state: Migration to 19.0 (#4285)