Giter VIP home page Giter VIP logo

odoo's Introduction

Odoo

Odoo Modules

odoo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoo's Issues

Website support ticket reply error

Hello Greetings,

I am using verson 10 odoo and using your Website Help Desk / Support Ticket module. When I reply to any ticket the email appear fail as the from part is missing . Please assist how to add from as the user who replies.

Thank you.

All Categories show for user

Hi Steven,
I have created few categories in my Odoo setup, I then created a customer and in the Website Support tab, under Category Name, I picked only a couple of categories. When I logged-in with this created user, I was surprised to see that the user can see all categories!! Also all categories are visible to anyone even before logging-in.

The idea is that I wanted to use Category as a filter. So that for confidentiality reasons you don't want other customers to know about other projects or their existence.

Is there a way the customer (after logging in through the web interface) can only see items related to his project/contract without knowing what or how many projects are currently being handled by the service company?.

It would be great if it is possible to change the fields under "Submit Support Ticket" such that users' view may be restricted as desired.

Best regards.

Email

Hello Greetings,
We are using Odoo 11 support ticket, client and odoo staff support ticket related communication with gmail
only. Incoming and Outgoing configured in odoo correctly. But some of the message not captured in odoo only email send to user gmail. How to capture all the email conversation in odoo? Client and User both using gmail not odoo interface.

Website_support : Error when insert Wysiwyg media on ticket creation

Hi !
I have this error when I save a ticket who have a media in wysiwyg form :

Odoo Server Error

Traceback (most recent call last):
  File "/home/infotelecom/odoo_infotelecom/core/odoo/fields.py", line 331, in __getattr__
    return self._attrs[name]
KeyError: 'ondelete'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 650, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/home/infotelecom/odoo_infotelecom/core/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 692, in dispatch
    result = self._call_function(**self.params)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 936, in __call__
    return self.method(*args, **kw)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/home/infotelecom/odoo_infotelecom/core/addons/web/controllers/main.py", line 934, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/infotelecom/odoo_infotelecom/core/addons/web/controllers/main.py", line 926, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/home/infotelecom/odoo_infotelecom/addons/website_support/models/website_support_ticket.py", line 363, in write
    update_rec = super(WebsiteSupportTicket, self).write(values)
  File "/home/infotelecom/odoo_infotelecom/core/addons/mail/models/mail_thread.py", line 282, in write
    result = super(MailThread, self).write(values)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/models.py", line 3089, in write
    self._write(old_vals)
  File "/home/infotelecom/odoo_infotelecom/core/odoo/models.py", line 3227, in _write
    field.write(self.with_context(rel_context), vals[name])
  File "/home/infotelecom/odoo_infotelecom/core/odoo/fields.py", line 2291, in write
    if inverse_field.ondelete == 'cascade':
  File "/home/infotelecom/odoo_infotelecom/core/odoo/fields.py", line 333, in __getattr__
    raise AttributeError(name)
AttributeError: ondelete

Do you have any idea where the problem is coming from?

Thanks in advance !

[html_form_builder] field required options are ignored

In html_form_builder there is the option to mark a form field as required. If users omit required input data and try to submit the form, a warning message show be display. Currently what happens is that no warning is shown and an error message is display later.
I think in general there is some code missing.

For example in Checkbox(Boolean) function in Odoo/html_form_builder/controllers/main.py
'required' attribute is needed in input tag.:

def _generate_html_checkbox_boolean(self, field):
        """Generate Checkbox(Boolean) HTML"""
        html_output = ""
        html_output += "<div class=\"hff hff_checkbox checkbox\" data-form-type=\"" + field.field_type.html_type + "\" data-field-id=\"" + str(field.id) + "\">\n"
        html_output += "  <label"

        if field.setting_general_required is True:
            html_output += " class=\"required\""

        html_output += "><input type=\"checkbox\" name=\"" + field.html_name + "\""
        if field.setting_general_required is True:
            html_output += " required"
        html_output += "/>" + field.field_label + "</label>\n"
        html_output += "</div>\n"

        return html_output

This also is the case of dropbox, radio, etc.

Customer cannot close his tickets

Hi Steven,
It would be helpful if a button is available for customer (non employee) to close his tickets.
i.e. Adding a comment and clicking Close instead of Submit.
Regards, Nabeel.

Move to OCA?

We just found this development and I gotta say you guys really did an amazing job. The module is even better than the Enterprise version!
I just wanted to know if you could consider publish this development in OCA, in order to be the "official community helpdesk module", so you can get more help and support, as well as "easy" migration for the customers of this module with openupgrade.
We are doing some small adaptations in v11 version (kanban view, settings...) we'll PR soon, and we could help you also to move it to OCA.
Thanks again for sharing this great work!

odoo 11 : web site menu Support declaration not friendly with new website menus management

Hi,

With the new configuration management of web site menus in V11, I can't use the OCA website_menu_by_user_status module with your website_support module.
I try to hide the support menu if user is not login.
The only way to reach the menu tree in v11 is through pages list of the web site, but the /support/help page is not in this list. If I create the page, then I have 2 menus "Support".

Regards

Website Support no menu Odoo 11, also Analytics, Billing and Gamification fail to install

Hi,
The latest incarnation of Website Support installs without errors on Odoo 11, but does not seem to show in any of the menus. Website_Support 1.2.14 (this commit: ddfaa97) installs and shows in the top menu as Customer Support, but the other 3 Website -Support Analytics, Billing and Gamification, fail to install henceforth.

The only way to make Website -Support Analytics, Billing and Gamification install is to bring back Website_Support version 1.2.13..

Nabeel.

Print tickets

Hi Steven,

Can help me?
How can I print a ticket like in POS, so that the client can sign the assistance, Where says the ticket number, the name and what work was done. How much that development would be.

Regards,

Jesús Leguizamón,

extra fields in tickets do not work

Hi,
in module website_support (V10) website_support_ticket.py
in the model "website.support.ticket.field", the wst_id M2O field is linked to itself.

class WebsiteSupportTicketField(models.Model):
_name = "website.support.ticket.field"
wst_id = fields.Many2one('website.support.ticket.field', string="Support Ticket")

regards.

Error when trying to set Business Hours

Hi Steven,
When in Customer Support --> Settings --> Business Hours, I get this error:

Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo11/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo11/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo11/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo/odoo11/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo11/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo11/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo11/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo11/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo11/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo11/addons/web/controllers/main.py", line 934, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo11/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo11/odoo/api.py", line 687, in call_kw
return call_kw_model(method, model, args, kwargs)
File "/opt/odoo/odoo11/odoo/api.py", line 672, in call_kw_model
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo11/odoo/models.py", line 1562, in name_search
return self._name_search(name, args, operator, limit=limit)
File "/opt/odoo/odoo11/odoo/models.py", line 1575, in _name_search
ids = self._search(args, limit=limit, access_rights_uid=access_rights_uid)
File "/opt/odoo/odoo11/odoo/models.py", line 3792, in _search
self._cr.execute(query_str, where_clause_params)
File "/opt/odoo/odoo11/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/odoo11/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: relation "_unknown" does not exist
LINE 1: SELECT "_unknown".id FROM "_unknown" ORDER BY "_unknown"."id...
^
Best regards, Nabeel.

error after upgrade #voip_sip_webrtc #11.0

After upgrading actual-github-version this message:

Fehler:
Odoo Server Error

Traceback (most recent call last):
File "/usr/share/odoo/odoo/odoo/fields.py", line 937, in get
value = record.env.cache.get(record, self)
File "/usr/share/odoo/odoo/odoo/api.py", line 960, in get
value = self._data[field][record.id][key]
KeyError: <odoo.api.Environment object at 0x7fc186518d30>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/share/odoo/odoo/odoo/fields.py", line 937, in get
value = record.env.cache.get(record, self)
File "/usr/share/odoo/odoo/odoo/api.py", line 960, in get
value = self._data[field][record.id][key]
KeyError: (<odoo.sql_db.Cursor object at 0x7fc186518940>, 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/share/odoo/odoo/odoo/fields.py", line 937, in get
value = record.env.cache.get(record, self)
File "/usr/share/odoo/odoo/odoo/api.py", line 960, in get
value = self._data[field][record.id][key]
KeyError: (<odoo.sql_db.Cursor object at 0x7fc186518940>, 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/share/odoo/odoo/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/share/odoo/odoo/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/share/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/share/odoo/odoo/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/usr/share/odoo/odoo/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/share/odoo/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/share/odoo/odoo/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/share/odoo/odoo/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/usr/share/odoo/odoo/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/usr/share/odoo/odoo/addons/web/controllers/main.py", line 1221, in load
action = request.env[action_type].browse([action_id]).read()
File "/usr/share/odoo/3rd-enabled/partner_contact_in_several_companies/models/ir_actions.py", line 12, in read
actions = super(IRActionsWindow, self).read(fields=fields, load=load)
File "/usr/share/odoo/odoo/odoo/addons/base/ir/ir_actions.py", line 198, in read
result = super(IrActionsActWindow, self).read(fields, load=load)
File "/usr/share/odoo/odoo/odoo/models.py", line 2601, in read
values[name] = field.convert_to_read(record[name], record, use_name_get)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1999, in convert_to_read
return (value.id, value.sudo().display_name)
File "/usr/share/odoo/odoo/odoo/fields.py", line 941, in get
self.determine_value(record)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1052, in determine_value
self.compute_value(recs)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1008, in compute_value
self._compute_value(records)
File "/usr/share/odoo/odoo/odoo/fields.py", line 999, in _compute_value
getattr(records, self.compute)()
File "/usr/share/odoo/odoo/odoo/models.py", line 1489, in _compute_display_name
names = dict(self.name_get())
File "/usr/share/odoo/odoo/odoo/models.py", line 1508, in name_get
result.append((record.id, convert(record[name], record)))
File "/usr/share/odoo/odoo/odoo/models.py", line 4754, in getitem
return self._fields[key].get(self, type(self))
File "/usr/share/odoo/odoo/odoo/fields.py", line 941, in get
self.determine_value(record)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1052, in determine_value
self.compute_value(recs)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1008, in compute_value
self._compute_value(records)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1001, in _compute_value
self.compute(records)
File "/usr/share/odoo/odoo/odoo/fields.py", line 586, in _compute_related
values = [first(value[name]) for value in values]
File "/usr/share/odoo/odoo/odoo/fields.py", line 586, in
values = [first(value[name]) for value in values]
File "/usr/share/odoo/odoo/odoo/models.py", line 4754, in getitem
return self._fields[key].get(self, type(self))
File "/usr/share/odoo/odoo/odoo/fields.py", line 941, in get
self.determine_value(record)
File "/usr/share/odoo/odoo/odoo/fields.py", line 1042, in determine_value
record._prefetch_field(self)
File "/usr/share/odoo/odoo/odoo/models.py", line 2646, in _prefetch_field
result = records.read([f.name for f in fs], load='_classic_write')
File "/usr/share/odoo/odoo/odoo/addons/base/res/res_users.py", line 921, in read
res = super(UsersView, self).read(other_fields, load=load)
File "/usr/share/odoo/odoo/odoo/addons/base/res/res_users.py", line 307, in read
result = super(Users, self).read(fields=fields, load=load)
File "/usr/share/odoo/odoo/odoo/models.py", line 2590, in read
self._read_from_database(stored, inherited)
File "/usr/share/odoo/odoo/odoo/models.py", line 2709, in _read_from_database
cr.execute(query_str, params)
File "/usr/share/odoo/odoo/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/usr/share/odoo/odoo/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_users.voip_presence_status does not exist
LINE 1: SELECT "res_users"."id" as "id","res_users"."voip_presence_s...
^

Website_support subcategory extra fields still displayed even if category change

Hi, thanks for your quick previous fixes.
I have a new issue with extra fields :
How to reproduce :
On submit page on website :

  • Select a category with a subcategory which have extra fields : Every things are displayed
    (This can be the default display when page is loaded)
  • Change category to one without subcategory : the subcategory combo-box disappears but extra fields of previous subcategory are still displayed.
    Thanks again for your work. Regards

fail to submit ticket from website (website_support)

Hi,
sometime i've got this issue but not every time when I click on Submit. Any idea of what could be wrong ?
When I click backward in navigator and then submit again : it works !

EDIT : it seems to append because I was connected as administrator in my dev environment to test the module.

odoo.sql_db: bad query: INSERT INTO "mail_followers" ("id", "res_model", "res_id", "partner_id") VALUES(nextval('mail_followers_id_seq'), 'website.support.ticket', 13, 3) RETURNING id
Traceback (most recent call last):
File "/opt/odoo/odoo-10.0/odoo/service/wsgi_server.py", line 184, in application
return application_unproxied(environ, start_response)
File "/opt/odoo/odoo-10.0/odoo/service/wsgi_server.py", line 170, in application_unproxied
result = handler(environ, start_response)
File "/opt/odoo/odoo-10.0/odoo/http.py", line 1306, in call
return self.dispatch(environ, start_response)
File "/opt/odoo/odoo-10.0/odoo/http.py", line 1280, in call
return self.app(environ, start_wrapped)
File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 591, in call
return self.app(environ, start_response)
File "/opt/odoo/odoo-10.0/odoo/http.py", line 1471, in dispatch
result = ir_http._dispatch()
File "/opt/odoo/odoo-10.0/addons/website_sale/models/ir_http.py", line 15, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo-10.0/addons/website/models/ir_http.py", line 198, in _dispatch
return cls.reroute('/'.join(path) or '/')
File "/opt/odoo/odoo-10.0/addons/website/models/ir_http.py", line 229, in reroute
return cls._dispatch()
File "/opt/odoo/odoo-10.0/addons/website_sale/models/ir_http.py", line 15, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo-10.0/addons/website/models/ir_http.py", line 209, in _dispatch
resp = super(Http, cls)._dispatch()
File "/opt/odoo/odoo-10.0/addons/web_editor/models/ir_http.py", line 21, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo-10.0/addons/utm/models/ir_http.py", line 20, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo-10.0/odoo/addons/base/ir/ir_http.py", line 199, in _dispatch
return cls._handle_exception(e)
File "/opt/odoo/odoo-10.0/addons/website/models/ir_http.py", line 264, in _handle_exception
response = super(Http, cls)._handle_exception(exception)
File "/opt/odoo/odoo-10.0/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo-10.0/odoo/http.py", line 825, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo/odoo-10.0/odoo/http.py", line 331, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-10.0/odoo/service/model.py", line 141, in wrapper
raise ValidationError(tr(registry._sql_error[key], 'sql_constraint') or inst[0])
ValidationError: ('Error, a partner cannot follow twice the same object.', None)

Odoo Server Error installing website_support on Odoo 11

I get the following error when installing the website support module

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 84, in lookup
    r = d[key]
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 68, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 44, in __getitem__
    a = self.d[obj].me
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f6da636a8c8>, 'website_support.support_ticket_reply_wrapper_support')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 348, in safe_eval
    return unsafe_eval(c, globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 724, in id_get
    res = self.model_id_get(id_str, raise_if_not_found)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 730, in model_id_get
    return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1316, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-21>", line 2, in xmlid_lookup
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 89, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1305, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: website_support.support_ticket_reply_wrapper_support

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 741, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 338, in _tag_function
    _eval_xml(self, rec, env)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 186, in _eval_xml
    args = safe_eval(a_eval, self.idref)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 28, in <lambda>
    safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
  File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 371, in safe_eval
    pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 348, in safe_eval
    return unsafe_eval(c, globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 724, in id_get
    res = self.model_id_get(id_str, raise_if_not_found)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 730, in model_id_get
    return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1316, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-21>", line 2, in xmlid_lookup
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 89, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1305, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: <class 'ValueError'>: "External ID not found in the system: website_support.support_ticket_reply_wrapper_support" while evaluating
"('website.support.settings', 'staff_reply_email_template_id', ref('website_support.support_ticket_reply_wrapper_support') )"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 647, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 689, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 934, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 922, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-40>", line 2, in button_immediate_install
  File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 448, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 541, 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 85, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 94, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 788, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 849, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 738, in parse
    self.parse(rec, mode)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 748, in parse
    exc_info[2]
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 741, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 338, in _tag_function
    _eval_xml(self, rec, env)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 186, in _eval_xml
    args = safe_eval(a_eval, self.idref)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 28, in <lambda>
    safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
  File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 371, in safe_eval
    pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 348, in safe_eval
    return unsafe_eval(c, globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 724, in id_get
    res = self.model_id_get(id_str, raise_if_not_found)
  File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 730, in model_id_get
    return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1316, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-21>", line 2, in xmlid_lookup
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 89, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1305, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "<class 'ValueError'>: "External ID not found in the system: website_support.support_ticket_reply_wrapper_support" while evaluating
"('website.support.settings', 'staff_reply_email_template_id', ref('website_support.support_ticket_reply_wrapper_support') )"" while parsing /usr/lib/python3/dist-packages/odoo/addons/website_support/data/website.support.settings.xml:15, near
<function id="default_staff_reply_email_template_id" model="ir.default" name="set" eval="('website.support.settings', 'staff_reply_email_template_id', ref('website_support.support_ticket_reply_wrapper_support') )"/>

Support Executive does not get inbox notification if a ticket is assigned to him

Hi Seteven,
in a scenario where a dispatcher receives tickets from various customers and assigns them to the appropriate Support Executive or Que, and/or a Support Executive already dealing with a ticket reassigns it to a different Executive (escalation/deescalation), the assignee does not get a notification in his inbox when logging-in.
Regards, Nabeel.

sms_frame v12 unable to receive any messages.

Hello, did not want to bother you with this, we've tried to resolve on our own with the developer but were unsuccessful. When updating to with the new module code here on github I lost the ability to receive messages.

I'm not sure what the problem is exactly but here is what I have found.

Quick Setup gives me this error,
image

Messages fail and this is the twilio message only when the contact exists with a mobile number.

image

I am able to receive messages inside of odoo if the contact's mobile number does not exist.
image

image

I was also unable to uninstall the module to try to revert back to our previous module which was working with at least sms (not with mms) not sure what the problem is with that.

Helpdesk Security

Hi,
After installation of helpdesk odoo module in community v11, I'm unable to create or update categories.
Could you explain how to become admin on this module ?

ticket is closed

how do you see that when a ticket is closed, that comments can no longer be sent and the button can not be sent?

Install voip_webrtc_xmpp error !

Hello,

I'm trying to install the voip_webrtc_xmpp and got the error below !!

Can someone help me please ?

Thanks.

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 677, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 333, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 326, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 935, in call
return self.method(*args, **kw)
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 506, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/odoo/addons/web/controllers/main.py", line 889, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/site-packages/odoo/addons/web/controllers/main.py", line 877, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python2.7/site-packages/odoo/api.py", line 681, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python2.7/site-packages/odoo/api.py", line 672, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/odoo/addons/base/module/module.py", line 410, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python2.7/site-packages/odoo/addons/base/module/module.py", line 484, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python2.7/site-packages/odoo/modules/registry.py", line 82, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/site-packages/odoo/modules/loading.py", line 339, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/site-packages/odoo/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python2.7/site-packages/odoo/modules/loading.py", line 156, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/usr/lib/python2.7/site-packages/odoo/modules/loading.py", line 95, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python2.7/site-packages/odoo/tools/convert.py", line 845, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/lib/python2.7/site-packages/odoo/tools/convert.py", line 915, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/lib/python2.7/site-packages/odoo/tools/convert.py", line 799, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/usr/lib/python2.7/site-packages/odoo/tools/convert.py", line 707, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/usr/lib/python2.7/site-packages/odoo/addons/base/ir/ir_model.py", line 1228, in _update
record = record.create(values)
File "/usr/lib/python2.7/site-packages/odoo/addons/base/ir/ir_ui_view.py", line 362, in create
return super(View, self).create(self._compute_defaults(values))
File "/usr/lib/python2.7/site-packages/odoo/addons/connector/producer.py", line 30, in create
record = super(Base, self).create(vals)
File "/usr/lib/python2.7/site-packages/odoo/models.py", line 3838, in create
self._fields[key].determine_inverse(record)
File "/usr/lib/python2.7/site-packages/odoo/fields.py", line 1000, in determine_inverse
getattr(records, self.inverse)()
File "/usr/lib/python2.7/site-packages/odoo/addons/base/ir/ir_ui_view.py", line 220, in _inverse_arch
view.write(data)
File "/usr/lib/python2.7/site-packages/odoo/addons/base/ir/ir_ui_view.py", line 380, in write
return super(View, self).write(self._compute_defaults(vals))
File "/usr/lib/python2.7/site-packages/odoo/addons/connector/producer.py", line 37, in write
result = super(Base, self).write(vals)
File "/usr/lib/python2.7/site-packages/odoo/models.py", line 3564, in write
self._write(old_vals)
File "/usr/lib/python2.7/site-packages/odoo/models.py", line 3715, in _write
self._validate_fields(vals)
File "/usr/lib/python2.7/site-packages/odoo/models.py", line 1083, in validate_fields
raise ValidationError("%s\n\n%s" % (
("Error while validating constraint"), tools.ustr(e)))
ParseError: "Erreur lors de la validation de la contrainte

L'élément '' ne peut être localisé dans la vue parente

Contexte de l'erreur :
Vue res.users XMPP
[view_id: 1634, xml_id: n/a, model: res.users, parent_id: 152]
None" while parsing /usr/lib/python2.7/site-packages/odoo/addons/voip_sip_webrtc_xmpp/views/res_users_views.xml:4, near

res.users XMPP
res.users






"TypeError: can't concat bytes to str" in Python 3 environment

When running odoo in Python 3 environment in HTML Embed Forms -> Create Forms when editing Model form filed raised next exception:

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 927, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 924, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 916, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 4996, in onchange
    record._onchange_eval(name, field_onchange[name], result)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 4892, in _onchange_eval
    method_res = method(self)
  File "/usr/lib/python3/dist-packages/odoo/addons/html_form_builder/models/html_form.py", line 45, in _onchange_model_id
    required_string += model_field.field_description.encode("utf-8") + " (" + model_field.name.encode("utf-8") + ")\n"
TypeError: can't concat bytes to str

If remove all .encode("utf-8") from html_form_builder/models/html_form.py file then exception disaper and everything work.

Error when clicking on "Import Media"

Hello !

I have an error on the module "Wordpress Migration" when I click on "Import Media" :(
I followed your documentation.

Here is the error :
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 650, 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 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 936, 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 938, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/vairea/odoo/modulesPerso/migration_wordpress/models/migration_import_wordpress.py", line 153, in import_media
media_json_data = self.pagination_requests(self.wordpress_url + "/wp-json/wp/v2/media")
File "/home/vairea/odoo/modulesPerso/migration_wordpress/models/migration_import_wordpress.py", line 79, in pagination_requests
combined_json_data = json.loads(response_string.text)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Into " Wordpress URL", I put my URL like this : http://exemple.pf/wp-admin/
I also tried : http://exemple.pf/
And I have this error :
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 650, 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 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 936, 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 938, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/vairea/odoo/modulesPerso/migration_wordpress/models/migration_import_wordpress.py", line 156, in import_media
self.transfer_media(media_json)
File "/home/vairea/odoo/modulesPerso/migration_wordpress/models/migration_import_wordpress.py", line 52, in transfer_media
url = media_json['guid']['rendered']
TypeError: string indices must be integers

I'm using version 11 of Odoo.
I don't really know what to do, I'm a bit new to Odoo..

Thank you ^^

Website support - problem upgrading to 1.6.0 in v10

Hi, I tried to upgrade this module from version 1.5.14, in odoo version 10.

This is the error I get:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 641, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 333, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 326, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 941, in call
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 506, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 895, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 883, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 528, in button_immediate_upgrade
return self._button_immediate_function(type(self).button_upgrade)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 485, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python2.7/dist-packages/odoo/modules/registry.py", line 83, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 335, in load_modules
force, status, report, loaded_modules, update_module)
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 136, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name})
File "/usr/lib/python2.7/dist-packages/odoo/modules/registry.py", line 317, in init_models
model._auto_init()
File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 2511, in _auto_init
self._init_column(name)
File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 2281, in _init_column
value = field.default(self)
File "/usr/lib/python2.7/dist-packages/odoo/addons/website_support/models/website_support_ticket.py", line 54, in _default_approval_id
return self.env['ir.model.data'].get_object('website_support', 'no_approval_required')
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1131, in get_object
return self.xmlid_to_object("%s.%s" % (module, xml_id), raise_if_not_found=True)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1092, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1076, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/usr/lib/python2.7/dist-packages/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1065, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: website_support.no_approval_required

security access missing

When I test not logged as administrator but as created user, I have new issues : models website_support_ticket_field and website_support_category_field have not security access defined. A message pop up when trying to open a ticket in back office or when trying to create a subcategory.

Customer cannot set ticket priority

Hi Steve,
I wonder if it is possible to allow the certain customer categories set his ticket priority, as in case of Business Functions Down or Server Down (Very High) etc... It would be great if a checkbox to add or remove this functionality is available at the setup/configuration level.

Of course the Support agent may reset the priority sighting an SLA or other reason, etc.

Best regards.

Assigned User Support Ticket

Support Ticket assigned user display Internal user and client user user.
Suggestion: Please apply domain assigned user to display only internal user

Edit:
Customer can close own ticket?
I saw customer close stage, but client portal not seen any options to close ticket by customer.
Is client close ticket features available?
Thanks

Error: QWeb2: Template 'voip_sip_webrtc.VoipWindow' not found

Hi, I'm trying to install your great module to study its features. But I get an error when trying the latest version of the 11.0 branch in my Odoo 11. More specifically, the error that appears to me is that of the following image after the installation of the module.

captura de pantalla 2018-03-18 a las 19 53 29

Can you tell me how to solve this problem?

Thanks greetings!!

10 Long ticket number

Hi,
I think it is a great tool, I want to know if there is a way to control the number of ticket, It automatically creates a long number like on the image:
image

I think I'm doing wrong something but I don't know what. Thanks for your help.

Uninstall module exception: column mail_template.built_in does not exist

Hi,

When trying to uninstall module with created at least a one mail template applies to model 'website.support.ticket' got next exception:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 640, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 677, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 333, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 326, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 935, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 506, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 889, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 877, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/wizard/base_module_upgrade.py", line 76, in upgrade_module
    odoo.modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/usr/lib/python2.7/dist-packages/odoo/modules/registry.py", line 82, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 393, in load_modules
    Module.browse(modules_to_remove.values()).module_uninstall()
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 425, in module_uninstall
    self.env['ir.model.data']._module_data_uninstall(modules_to_remove)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1360, in _module_data_uninstall
    (datas - undeletable).unlink()
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1154, in unlink
    return super(IrModelData, self).unlink()
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3442, in unlink
    self.recompute()
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 5315, in recompute
    vals = rec._convert_to_write({n: rec[n] for n in ns})
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 5315, in <dictcomp>
    vals = rec._convert_to_write({n: rec[n] for n in ns})
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 5211, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 910, in __get__
    self.determine_value(record)
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 996, in determine_value
    self.compute_value(recs)
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 976, in compute_value
    self._compute_value(records)
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 969, in _compute_value
    self.compute(records)
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 617, in _compute_related
    values = [first(value[name]) for value in values]
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 5211, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 910, in __get__
    self.determine_value(record)
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 1012, in determine_value
    record._prefetch_field(self)
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3066, in _prefetch_field
    result = records.read([f.name for f in fs], load='_classic_write')
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3010, in read
    self._read_from_database(stored, inherited)
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3134, in _read_from_database
    cr.execute(query_str, params)
  File "/usr/lib/python2.7/dist-packages/odoo/sql_db.py", line 154, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/sql_db.py", line 231, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column mail_template.built_in does not exist
LINE 1: ...,"mail_template"."ref_ir_value" as "ref_ir_value","mail_temp...
                                                             ^

regards

Helpdesk, auto create customer contact (partner)

Hello, is there a way to auto create the customer contact (partner field in the ticket) ?
For example, in Zendesk, a customer sends an email to our support account ([email protected]), this customer has never created a ticket before, so, the ticket gets created and the customer is created as well and gets linked to the ticket.

[html_form_builder] many2one dropbox ignores field's domain parameter

When a many2one dropbox selection is added, all registers from de field are selectable, ignoring possible domain parameter set in field definition.

I think you could solve this adding some lines of code so only the records in the fields domain are entered in the selection list when a domain is specified.

controllers/main.py _generate_html_dropbox function:

            if request.env[field.field_id.model].fields_get()[field.field_id.name]['domain']:
                selection_list = request.env[field.field_id.relation].search(
                    request.env[field.field_id.model].fields_get()[field.field_id.name]['domain'])
            else:
                selection_list = request.env[field.field_id.relation].search([])

models/html_from.py _generate_html_dropbox:

            if request.env[fe.field_id.model].fields_get()[fe.field_id.name]['domain']:
                selection_list = request.env[fe.field_id.relation].search(
                    request.env[fe.field_id.model].fields_get()[fe.field_id.name]['domain'])
            else:
                selection_list = request.env[fe.field_id.relation].search([])

html_form_builder 11.0.1.0.2 - recaptcha2 is not displayed

hello!

thanks for your work on this app!

i have an issue on Odoo Community 11 with recaptcha2 using version 11.0.1.0.2 of html_form_builder

I registered the domain at google, got site key and secret key, added them to the form's recaptcha2 settings, but when displaying I see this in the browser (latest chrome) console:
"Could not get content for https://www.google.com/recaptcha/api.js defined in bundle 'web.assets_frontend'.
(anonymous) @ web.assets_frontend.js:263"

Tried restarting odoo, pressed Crtl+F5 in browser for full reload, also tried in developer mode

when viewing the html source in odoo's page editor I can see the recaptcha div element, seems ok

any hint what might be wrong?

thanks

Error creating new Help Group

V9.0

I go to the website, content, create new Help Group. I get a 403 error saying that the page doesn't exist. No traceback error... Creating a help page also doesn't show the Help Group I was trying to create.

screen shot 2018-04-13 at 3 57 06 pm

Downloading SythilTech / Odoo 10 in Custom Addons makes static contents "not found"

Hello Steven,
I was experimenting with Odoo 10 over Centos 7.6 in the past few days when I noticed that images and icons disappear from odoo web interface after adding a custom addons location to the path in odoo.conf, like this (addons_path = /usr/lib/python2.7/site-packages/odoo/addons, /usr/lib/python2.7/site-packages/odoo/custom-addons) and downloading SythilTech/Odoo branch 10.0.

Initially I thought it was the new Centos playing tricks, then after few test installations over other OSes and with the process of elimination, I found it was the following items being the root cause of the problem:
1- migration_odbc_import
2- sythil_saas_server_domain_filter
3- voip_sip_webrtc_transcription
4- voip_sip_webrtc_xmpp

If the above items are removed from the "custom-addons" folder and odoo 10 is restarted, all is back to normal. It may be permissions or naming issue, you would know better, but I am sure you will be able to fix it or advice on how to go about it.

Thanks in advance.

erro install - help

Erro:
Odoo Server Error

Traceback (most recent call last):
File "/opt/adax-erp/odoo/tools/cache.py", line 84, in lookup
r = d[key]
File "/opt/adax-erp/odoo/tools/func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "/opt/adax-erp/odoo/tools/lru.py", line 44, in getitem
a = self.d[obj].me
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fcb4f4ddc80>, 'voip_sip_webrtc.model_voip_call')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/adax-erp/odoo/tools/convert.py", line 744, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/opt/adax-erp/odoo/tools/convert.py", line 642, in _tag_record
f_val = self.id_get(f_ref)
File "/opt/adax-erp/odoo/tools/convert.py", line 727, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/opt/adax-erp/odoo/tools/convert.py", line 733, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/opt/adax-erp/odoo/addons/base/ir/ir_model.py", line 1323, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/opt/adax-erp/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/adax-erp/odoo/addons/base/ir/ir_model.py", line 1312, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: voip_sip_webrtc.model_voip_call

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/adax-erp/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/adax-erp/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/adax-erp/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/adax-erp/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/opt/adax-erp/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/adax-erp/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/adax-erp/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/adax-erp/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/opt/adax-erp/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/adax-erp/modulos/interface/web/controllers/main.py", line 935, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/adax-erp/modulos/interface/web/controllers/main.py", line 923, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/adax-erp/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/opt/adax-erp/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/adax-erp/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/opt/adax-erp/odoo/addons/base/module/module.py", line 448, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/opt/adax-erp/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/opt/adax-erp/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/adax-erp/odoo/modules/loading.py", line 371, in load_modules
loaded_modules, update_module, models_to_check)
File "/opt/adax-erp/odoo/modules/loading.py", line 265, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/opt/adax-erp/odoo/modules/loading.py", line 172, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/adax-erp/odoo/modules/loading.py", line 95, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/adax-erp/odoo/tools/convert.py", line 791, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/adax-erp/odoo/tools/convert.py", line 852, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/adax-erp/odoo/tools/convert.py", line 741, in parse
self.parse(rec, mode)
File "/opt/adax-erp/odoo/tools/convert.py", line 751, in parse
exc_info[2]
File "/opt/adax-erp/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/opt/adax-erp/odoo/tools/convert.py", line 744, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/opt/adax-erp/odoo/tools/convert.py", line 642, in _tag_record
f_val = self.id_get(f_ref)
File "/opt/adax-erp/odoo/tools/convert.py", line 727, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/opt/adax-erp/odoo/tools/convert.py", line 733, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/opt/adax-erp/odoo/addons/base/ir/ir_model.py", line 1323, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/opt/adax-erp/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/adax-erp/odoo/addons/base/ir/ir_model.py", line 1312, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "External ID not found in the system: voip_sip_webrtc.model_voip_call" while parsing /opt/adax-erp/modulos/mail/voip/data/ir.cron.xml:5, near

Clear Messagebank

code
model.clear_messagebank()
24
hours
-1

No e-mail notification for client answer

Hello,
I'm on Odoo V12 and configured your plugin. Everything's fine but when I don't get an e-mail notification when the client write back to me.
I have the new ticket and close ticket notification but not the update one. Is there anything to do ?
Thanks !

Support Tickets list

Hi Seteven,
When a support executive clicks on Customer Support, he gets a list of tickets in the Q, it would be useful if the field "Owner" or "Processor" to indicate who is working on the ticket currently.

Or Owner may indicate the person sending the ticket (instead of Person name) and Processor indicating the Support Executive working on it.

It would be great if this list is a customisable report, such as the painter in SAP. i.e. one can add or remove fields within that report.

Regards, Nabeel.

[11] voip_sip_webrtc error after upgrade

Hi Steven, after update today from https://github.com/SythilTech/Odoo, module voip_sip_webrtc gives this error:

Traceback (most recent call last):
  File "/opt/odoo11/odoo/odoo/http.py", line 650, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo11/odoo/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo11/odoo/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/odoo11/odoo/odoo/http.py", line 692, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo11/odoo/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo11/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo11/odoo/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo11/ext/modoolar/scrummer/web_syncer/http.py", line 9, in __call__
    result = self.method(*args, **kw)
  File "/opt/odoo11/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo11/ext/SythilTech/Odoo/voip_sip_webrtc/controllers/main.py", line 173, in call_kw
    value = super(DataSetInheritVoip, self).call_kw(model, method, args, kwargs, path=None)
  File "/opt/odoo11/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo11/odoo/addons/web/controllers/main.py", line 931, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/odoo11/odoo/addons/web/controllers/main.py", line 923, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo11/odoo/odoo/api.py", line 687, in call_kw
    return call_kw_model(method, model, args, kwargs)
  File "/opt/odoo11/odoo/odoo/api.py", line 672, in call_kw_model
    result = method(recs, *args, **kwargs)
  File "/opt/odoo11/ext/SythilTech/Odoo/voip_sip_webrtc/models/voip_server.py", line 39, in user_list
    last_activity_diff = datetime.datetime.now() - fields.Datetime.from_string(presence_user.user_id.last_web_client_activity_datetime)
TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType'

I tried to update voip_sip_webrtc from Odoo and from console with -u voip_sip_webrtc, but error exist. Please to your advice!

SMS Frame notification email subject

Notification email's subject line is always "SMS message", a lot of email clients group up these messages together making it hard to keep track of the conversation streams.

Something like "SMS from {res.partner}" would make it so email clients will split up the notifications.

Side note: It would be awesome to have in that same notification a URL that will open up a SMS compose with all the relevant info so we just type in the message and click send.
Even better but probably much more difficult, an email reply to a sms email will sms the associated partner.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.