Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 101 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 7.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 7 migration notes 3 models 2 views 0 HTTP endpoints

Description

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 2

XML IDNameModelTypeStatus
compute_all_delivery_dates_form compute.all.delivery.dates.wizard form New
compute_delivery_date_by_product_form compute.delivery.date.by.product.wizard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • do_compute(self, cr, uid, ids, context=None)
    Delegate the picking to compute delivery dates for all products. If use_new_cursor is in the context, pass it as a parameter.

New fields (0)

No new fields.

Public methods (1)
  • do_compute(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (4)
  • compute_all_delivery_dates(self, cr, uid, use_new_cursor=True, context=None)
    Loop on all products that have moves, and process them one by one. This can take a few seconds per product, so the transaction can be very long-lived and easily interrupted. To avoid that, we create a new cursor that is committed for every product. The use_new_cursor can be used in cases where multiple transactions are harmful, like for automated testing.
  • compute_delivery_dates(self, product)
    @api.model
  • compute_mto_delivery_dates(self, cr, uid, product, context=None)
  • compute_mts_delivery_dates(self, cr, uid, product, context=None)

Loading…

Loading…

Loading…