SHARE
TWEET

Untitled

a guest Nov 16th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Error:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5.   File "/home/odoo/src/odoo/odoo/http.py", line 656, in _handle_exception
  6.     return super(JsonRequest, self)._handle_exception(exception)
  7.   File "/home/odoo/src/odoo/odoo/http.py", line 314, in _handle_exception
  8.     raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  9.   File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 87, in reraise
  10.     raise value
  11.   File "/home/odoo/src/odoo/odoo/http.py", line 698, in dispatch
  12.     result = self._call_function(**self.params)
  13.   File "/home/odoo/src/odoo/odoo/http.py", line 346, in _call_function
  14.     return checked_call(self.db, *args, **kwargs)
  15.   File "/home/odoo/src/odoo/odoo/service/model.py", line 97, in wrapper
  16.     return f(dbname, *args, **kwargs)
  17.   File "/home/odoo/src/odoo/odoo/http.py", line 339, in checked_call
  18.     result = self.endpoint(*a, **kw)
  19.   File "/home/odoo/src/odoo/odoo/http.py", line 941, in __call__
  20.     return self.method(*args, **kw)
  21.   File "/home/odoo/src/odoo/odoo/http.py", line 519, in response_wrap
  22.     response = f(*args, **kw)
  23.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 966, in call_button
  24.     action = self._call_kw(model, method, args, {})
  25.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 954, in _call_kw
  26.     return call_kw(request.env[model], method, args, kwargs)
  27.   File "/home/odoo/src/odoo/odoo/api.py", line 759, in call_kw
  28.     return _call_kw_multi(method, model, args, kwargs)
  29.   File "/home/odoo/src/odoo/odoo/api.py", line 746, in _call_kw_multi
  30.     result = method(recs, *args, **kwargs)
  31.   File "/home/odoo/src/odoo/addons/crm/wizard/crm_lead_to_opportunity.py", line 143, in action_apply
  32.     self._convert_opportunity(values)
  33.   File "/home/odoo/src/user/presales_workflow/models/crm.py", line 30, in _convert_opportunity
  34.     return super(Lead2OpportunityPartner, self)._convert_opportunity(vals)
  35.   File "/home/odoo/src/odoo/addons/crm/wizard/crm_lead_to_opportunity.py", line 103, in _convert_opportunity
  36.     lead.id, self.action, vals.get('partner_id') or lead.partner_id.id)
  37.   File "/home/odoo/src/odoo/addons/crm/wizard/crm_lead_to_opportunity.py", line 157, in _create_partner
  38.     result = self.env['crm.lead'].browse(lead_id).handle_partner_assignation(action, partner_id)
  39.   File "/home/odoo/src/odoo/addons/crm/models/crm_lead.py", line 868, in handle_partner_assignation
  40.     partner = lead._create_lead_partner()
  41.   File "/home/odoo/src/odoo/addons/crm/models/crm_lead.py", line 843, in _create_lead_partner
  42.     return Partner.create(self._create_lead_partner_data(contact_name, False, partner_company.id if partner_company else False))
  43.   File "/home/odoo/src/user/presales_workflow/models/crm.py", line 78, in _create_lead_partner_data
  44.     email_split = tools.email_split(self.email_from)
  45. NameError: name 'tools' is not defined
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top