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): ...@@ -126,7 +126,7 @@ class HelpdeskTicket(models.Model):
@api.model @api.model
def default_due_date(self): def default_due_date(self):
return fields.Datetime.now() return fields.Datetime.now() + timedelta(days=6)
name = fields.Char("Name", tracking=True) name = fields.Char("Name", tracking=True)
company_id = fields.Many2one('res.company', company_id = fields.Many2one('res.company',
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<field name="name">Ticket Dashboard</field> <field name="name">Ticket Dashboard</field>
<field name="tag">ticket_dashboard.dashboard</field> <field name="tag">ticket_dashboard.dashboard</field>
</record> </record>
<menuitem id="helpdesk_dashboard_menu" name="Dashboard" parent="sh_all_in_one_helpdesk.helpdesk_main_menu" sequence="1" action="sh_action_ticket_dashboard" /> <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"> <template id="ticket_dashboard_count" name="My Dashboard Count">
<div id="js_ticket_count_div"> <div id="js_ticket_count_div">
<div> <div>
...@@ -172,7 +174,6 @@ ...@@ -172,7 +174,6 @@
<tr> <tr>
<th>Ticket No</th> <th>Ticket No</th>
<th>Customer Name</th> <th>Customer Name</th>
<th>Mobile Number</th>
<th>Create Date</th> <th>Create Date</th>
<th>Last Update Date</th> <th>Last Update Date</th>
<th>Assign User</th> <th>Assign User</th>
...@@ -194,10 +195,7 @@ ...@@ -194,10 +195,7 @@
</a> </a>
</td> </td>
<td> <td>
<span t-esc="order.get('partner_name')" /> <span t-esc="order.get('partner_id')" />
</td>
<td>
<span t-esc="order.get('partner_mobile')" />
</td> </td>
<td> <td>
<span t-esc="order.get('create_date')" /> <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