Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 7 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 19.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
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

Description

Adds an Order Customer Reference field (customer_reference) to project.task so that customer PO/requisition numbers are visible on tasks, capturable via website webforms, and kept in sync with the linked sale order.

Features:

  • Task field: customer_reference (Char, not copied on duplication) is added to the task form view and list view (hidden by default, toggleable via the optional-columns menu).
  • Auto-populated from sale order: when a task is created automatically from a confirmed sale order (service lines with service_tracking), the task inherits the SO's client_order_ref as its customer_reference.
  • Propagation back to sale order: when customer_reference is set or updated on a task, it is written to client_order_ref on the linked sale order — but only if that field is currently empty, preventing unintended overwrites.
  • Website webform support: the field is whitelisted for the website form builder so it appears in the field picker when configuring a webform that creates project.task records.

Dependencies

Code analysis

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

Views touched 2

XML IDNameModelTypeStatus
view_task_all_tree_inherit project.task.list project.task list Inherits project.view_task_tree2
view_task_form2_inherit project.task.form project.task form Inherits project.view_task_form2

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • customer_reference Char
    copy=False string='Order Customer Reference'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.