Commit cc16ea1f by Arturo Jasso Origel

corrección en campos que toma la vista y se ajusto la fecha limite

parent 06ed2d72
......@@ -126,7 +126,7 @@ class HelpdeskTicket(models.Model):
@api.model
def default_due_date(self):
return fields.Datetime.now()
return fields.Datetime.now() + timedelta(days=6)
name = fields.Char("Name", tracking=True)
company_id = fields.Many2one('res.company',
......
......@@ -4,7 +4,9 @@
<field name="name">Ticket Dashboard</field>
<field name="tag">ticket_dashboard.dashboard</field>
</record>
<menuitem id="helpdesk_dashboard_menu" name="Dashboard" parent="sh_all_in_one_helpdesk.helpdesk_main_menu" sequence="1" action="sh_action_ticket_dashboard" />
<template id="ticket_dashboard_count" name="My Dashboard Count">
<div id="js_ticket_count_div">
<div>
......@@ -172,7 +174,6 @@
<tr>
<th>Ticket No</th>
<th>Customer Name</th>
<th>Mobile Number</th>
<th>Create Date</th>
<th>Last Update Date</th>
<th>Assign User</th>
......@@ -194,10 +195,7 @@
</a>
</td>
<td>
<span t-esc="order.get('partner_name')" />
</td>
<td>
<span t-esc="order.get('partner_mobile')" />
<span t-esc="order.get('partner_id')" />
</td>
<td>
<span t-esc="order.get('create_date')" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment