Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…