Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Arturo Jasso Origel
/
helpdesk
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cc16ea1f
authored
May 07, 2023
by
Arturo Jasso Origel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrección en campos que toma la vista y se ajusto la fecha limite
parent
06ed2d72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
sh_all_in_one_helpdesk/models/helpdesk_ticket.py
+1
-1
sh_all_in_one_helpdesk/views/ticket_dashboard_templates.xml
+3
-5
No files found.
sh_all_in_one_helpdesk/models/helpdesk_ticket.py
View file @
cc16ea1f
...
...
@@ -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'
,
...
...
sh_all_in_one_helpdesk/views/ticket_dashboard_templates.xml
View file @
cc16ea1f
...
...
@@ -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')"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment