Project Task Customer Reference
project_task_customer_ref · OCA/project
Health
55/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 7 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
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'sclient_order_refas itscustomer_reference. - Propagation back to sale order: when
customer_referenceis set or updated on a task, it is written toclient_order_refon 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.taskrecords.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_referenceCharcopy=Falsestring='Order Customer Reference'
-
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.