This module adds a simple, manually filled ``date_deadline`` Date field, tracked in the chatter, with an overdue flag, a red kanban decoration and search filters (overdue, due today, group by deadline).
12 lines
261 B
Python
12 lines
261 B
Python
from odoo import fields, models
|
|
|
|
|
|
class HelpdeskTicket(models.Model):
|
|
_inherit = "helpdesk.ticket"
|
|
|
|
date_deadline = fields.Date(
|
|
string="Deadline",
|
|
tracking=True,
|
|
help="Target date by which the ticket should be resolved.",
|
|
)
|