oca / helpdesk Goto Github PK
View Code? Open in Web Editor NEWOdoo modules for managing a HelpDesk system
License: GNU Affero General Public License v3.0
Odoo modules for managing a HelpDesk system
License: GNU Affero General Public License v3.0
Odoo Enterprise already has a module called helpdesk.
To avoid misunderstandings and issues I think it might be better to rename the module as helpdesk_base or something similar.
@aitorbouzas @pedrobaeza What do you think?
I have a doubt with this question on v13... its better to integrate de ticket creation form with the core form editor registry released on 13.0?
Example with recruitment:
https://github.com/OCA/OCB/blob/13.0/addons/website_hr_recruitment/static/src/js/website_hr_recruitment_editor.js#L9
Origin from #106
I think here https://odoo-community.org/psc-teams/helpdesk-164 should be listed https://github.com/OCA/helpdesk
On module helpdesk_mgmt, on tickets form views, there is a page named attachment that unnecessary.
Its functions are already covered by chatter.
Hello,
(at commit b2f7d3c)
after successfully creating a ticket from portal from ticket with a portal user.
This one can't comment.
If you fill the message field, and send the message your redirected to this html error message.
Sorry, you are not allowed to modify documents of type 'Helpdesk Ticket' (helpdesk.ticket). This operation is allowed for the groups:
- Helpdesk/Helpdesk Manager
- Helpdesk/User
- Helpdesk/User: Personal tickets - (Operation: write, User: 6)
I understand that by now, the ticket creation from mail is only possible using custom incoming mail server configuration, using the "create record" option.
If you agree, I could expand the ticket.team model by adding the alias logic to create tickets from mail... on the same way that the CRM do it. I think that is better option :)
We already realized with our Partner BizzAppDev a module to enable to user to see his tickets in the customer portal on the website.
Is anybody already working on this? If not we will create a PR
We have a whole set of Modules for helpdesk implemented. Shall we Do a pr and we see what will make it? Or whats the best way now
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the model and the view to v11.
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the security to v11.
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the model and the view to v11.
When the ticket is assigned to a user, the email notification "Hello user,
The ticket HT00001 has been assigned to you." is sent to the partner (and not to the user)
This happens even if partner is not follower of the ticket.
Steps to reproduce:
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-13.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Minor bug.
When creating a ticket by sending a mail (fetchmail), the partner_id is the first one found with matching mail address.
However it could be nicer to try to match a partner_id which is an helpdesk user if many matching mails are found.
See in code helpdesk_mgmt / models / helpdesk_ticket.py
, def message_new ()
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the model to v11.
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0
I just realized that an email is sent to the client when the ticket is assigned to an user. Is this correct?
I don't know if this makes sense or if this has any purpose.
[12] is helpdesk [12] still an alpha developement state, or it is beta as version [13]?
I intend to add a text input in searchbar in portal ticket list (similarly to Tasks) , shall it be included in helpdesk_mgmt module.
Which properties shall we include (in oca module) for search with input text ?
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-12.0
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the model and the view to v11.
Hi,
First of all I would like to congratulate this initiative that looks amazing.
My question is fairly simple and I hope that I won't be misunderstood.
What is the main difference with project management available in Odoo CE + OCA repo ?
As I'm about to migrate from 10.0 to 12.0 our main instance, as I'm suspecting that great things are about to be achieved here, I would like to have more precision regarding the Roadmap to decide wether I migrate our support activity from project to heldesk .
Thanks for reading and for any answer.
Regards
If we create a new ticket on the Odoo backend, it won't show on the the associated partner portal view. That's because rule
<!-- Portal for helpdesk -->
<record id="helpdesk_ticket_rule_portal" model="ir.rule">
<field name="name">Portal Personal Tickets</field>
<field name="model_id" ref="model_helpdesk_ticket"/>
<field name="domain_force">[('message_partner_ids','child_of',[user.commercial_partner_id.id])]</field>
<field name="groups" eval="[(4, ref('base.group_portal'))]"/>
</record>
only shows tickets on which the partner is a follower. But when the ticket is created on the backend, the partner is not added to the followers list.
I can try to fix this but would appreciate your opinion: should we add the partner to the followers list or modify the portal rule and add an OR clause with ('partner_id','child_of',[user.commercial_partner_id.id]) ?
hello! This is a simple question but i dont know how to do it.
How to install OCA Odoo assitance module with my Odoo instance (v12) ?
Thank you very much.
Reda.
@pedrobaeza Once this module is finished I think it will be necessary a 12.0 branch for the migration to Odoo 12
Shall helpdesk_mgmt module integrate attachment button in website comment composer (portal chatter) ?
It can be implemented by disabling current composer in js-widget and adding a custom composer (an easy to maintain qweb template ?).
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the model to v11.
This ticket apply to version 12.0 of this module.
In portal ticket list view, the ticket list is titled with "No title".
This the result of calling "portal.portal_searchbar" without any argument "title".
<h3>Tickets
<t t-call="portal.portal_searchbar"/>
</h3>
I suggest to use the same structure than on Project module:
<t t-set="breadcrumbs_searchbar" t-value="True"/>
<t t-call="portal.portal_searchbar">
<t t-set="title">Tickets</t>
</t>
This imply to change the controller myaccount.py
by disabling line 'no_breadcrumbs': False
.
On module helpdesk_mgmt_timesheet it shouldn't be possible modify a line from timesheet if ticket is closed.
*It will be necessary to review the way to define the states before performing this task
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Version affected: 12CE
Modules installed: base + oca helpdesk
Latest commit: 368b9de
Steps to reproduce
http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:3374
Traceback:
Error: QWeb2 - template['kanban-box']: Error evaluating template: SyntaxError: Unexpected identifier
at Object.exception (http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:3374:7)
at Engine._render (http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:3417:12)
at Engine.render (http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:3415:151)
at Class._render (http://localhost:8069/web/content/384-e2ccca3/web.assets_backend.js:1814:451)
at Class.start (http://localhost:8069/web/content/384-e2ccca3/web.assets_backend.js:1804:1256)
at Class.prototype. [as start] (http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:3538:488)
at http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:3684:52
at http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:802:681
at fire (http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:796:299)
at Object.add [as done] (http://localhost:8069/web/content/383-9c2787f/web.assets_common.js:797:467)
On module helpdesk_mgmt_timesheet should ask for confirmation before delete a line from timesheet to avoid errors.
Hello,
I will contact you to ask for a little help.
I have installed the helpdesk_mgmt module, I do have access to Helpdesk on the backend, but on my website I don't know how to access the user view to create and track tickets, I don't know the url.
Usually when I install a module, if there is a part on the web, the link is automatically added to the website menu but this is not the case.
Thanks in advance for your help,
Sincerely, Samy
The person in charge of this task must do it based on the module crm_helpdesk_improvement (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The pertinent changes must be made to update the data to v11.
When new ticket is created in kanban view the log shows the follow error:
2019-09-30 07:40:15,797 34 ERROR project odoo.sql_db: bad query: b'INSERT INTO "helpdesk_ticket" ("id", "stage_id", "company_id", "rating_status", "positive_rate_percentage", "last_stage_update", "priority", "number", "create_uid", "write_uid", "create_date", "write_date")
VALUES(nextval('helpdesk_ticket_id_seq'), 6, 1, 'stage_change', -1, '2019-09-30 07:40:15', '1', 'dfd', 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id' ERROR: null value in column "name" violates not-null constraint DETAIL: Failing row contains (17, dfd, null, null, null, 6, null, null, null, 2019-09-30 07:40:15, null, null, 1, null, null, null, 1, null, null, null, null, 1, 2019-09-30 07:40:15.794557, 1, 2019-09-30 07:40:15.794557, null, -1, stage_change).
Sequence:
Tickets -> kanban view -> in any state press create -> put the title -> press button create.
The person in charge of this task should do it once the rest of the tasks are finished
The helpdesk works with email and doesn't automatically create a partner when you receive a ticket. However, you may want to create the partner. I think this is similar to the CRM module. In the CRM module if you create on the create partner button from a lead, you get all field filled by default thanks to this default_get override:
https://github.com/odoo/odoo/blob/12.0/addons/crm/models/res_partner.py#L18
Wouldn't be great to have such a default_get in the helpdesk_mgmt module that would fill the partner name and the email?
Hello,
(at commit b2f7d3c)
with a portal user,
if i add an attachment while creating issue, i got redirected to following traceback :
Traceback (most recent call last):
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/addons/base/models/ir_http.py", line 229, in _dispatch
result = request.dispatch()
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/http.py", line 809, in dispatch
r = self._call_function(**self.params)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/http.py", line 915, in __call__
return self.method(*args, **kw)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/home/odoo/odoo/parts/helpdesk/helpdesk_mgmt/controllers/main.py", line 74, in submit_ticket
"res_id": new_ticket.id,
File "<decorator-gen-130>", line 2, in create
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/api.py", line 314, in _model_create_single
return create(self, arg)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/addons/website/models/ir_attachment.py", line 25, in create
return super(Attachment, self).create(vals)
File "<decorator-gen-39>", line 2, in create
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/api.py", line 335, in _model_create_multi
return create(self, [arg])
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/addons/base/models/ir_attachment.py", line 524, in create
return super(IrAttachment, self).create(vals_list)
File "<decorator-gen-3>", line 2, in create
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/api.py", line 336, in _model_create_multi
return create(self, arg)
File "/home/odoo/odoo/parts/OCB-f54310be4efed12f74ce6e3d91251f171319894e/odoo/models.py", line 3699, in create
raise ValueError("Invalid field %r on model %r" % (key, self._name))
ValueError: Invalid field 'datas_fname' on model 'ir.attachment'
In ticket list view web#model=helpdesk.ticket&view_type=list
: I have inconsistency
something i did not expect on last stage update value (last update is before creation...) : the default last stage update is the server start time.
Ticket number | Title | Partner Name | Assigned user | Stage | Priority | Created on | Last Stage Update |
---|---|---|---|---|---|---|---|
HT00032 | Rechargement vue | New | 30/07/2019 12:07:14 | 30/07/2019 11:39:04 |
Solution in models/helpdesk_ticket.py
, remove parenthesis in Datetime.now()
last_stage_update = fields.Datetime(
string='Last Stage Update',
default=fields.Datetime.now,
)
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1326, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1314, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 463, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 573, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 423, in load_modules
loaded_modules, update_module, models_to_check)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 315, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 182, in load_module_graph
load_openerp_module(package.name)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 376, in load_openerp_module
import('odoo.addons.' + module_name)
File "/mnt/extra-addons/helpdesk_mgmt/init.py", line 2, in
from . import models
File "/mnt/extra-addons/helpdesk_mgmt/models/init.py", line 1, in
from . import helpdesk_ticket
File "/mnt/extra-addons/helpdesk_mgmt/models/helpdesk_ticket.py", line 5, in
class HelpdeskTicket(models.Model):
File "/mnt/extra-addons/helpdesk_mgmt/models/helpdesk_ticket.py", line 117, in HelpdeskTicket
@api.multi
AttributeError: module 'odoo.api' has no attribute 'multi'
Please help.
The person in charge of this task must do it based on the module crm_helpdesk_mail_team (https://github.com/factorlibre/helpdesk/tree/8.0-FL_Helpdesk_Improvement).
The relevant changes must be made to update module to v11.
As not present at https://translation.odoo-community.org/projects/helpdesk-12-0/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.