Skip to content
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.04 MB
Module directory on disk
Migration notes
0
Review checklist items
Code footprint
2 models · 3 views
0 HTTP endpoints

Description

Allow to set the sale order line directly on helpdesk tickets.

Dependencies

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
ticket_view_form helpdesk.ticket form Inherits helpdesk_mgmt_project.ticket_view_form
ticket_view_tree helpdesk.ticket tree Inherits helpdesk_mgmt_project.ticket_view_tree
timesheet_helpdesk_ticket_view_form helpdesk.ticket form Inherits helpdesk_mgmt_timesheet.timesheet_helpdesk_ticket_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • allow_billable Boolean
    related='project_id.allow_billable'
  • sale_line_id Many2one → sale.order.line
    compute='_compute_sale_line' copy=True domain=<expr> help='Sales Order Item to which the time spent on this task will be added in order to be invoiced to your customer.\nBy default the sales order item set on the project will be selected. In the absence of one, the last prepaid sales order item that has time remaining will be used.\nRemove the sales order item in order to make this task non billable. You can also change or remove the sales order item of each timesheet entry individually.' index='btree_not_null' readonly=False recursive=True store=True tracking=True args: 'sale.order.line', 'Sales Order Item'
  • sale_order_id Many2one → sale.order
    compute='_compute_sale_order_id' group_expand='_group_expand_sales_order' help='Sales order to which the task is linked.' store=True args: 'sale.order', 'Sales Order'
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
79 days ago
Last activity
75 days ago
Repository
OCA/helpdesk
Pull request
[17.0][MIG] helpdesk_mgmt_timesheet_sale: Migration to 17.0 (#1068)