SHARE
TWEET

Untitled

a guest Apr 18th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Erreur:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5.   File "/home/odoo/src/odoo/odoo/http.py", line 651, in _handle_exception
  6.     return super(JsonRequest, self)._handle_exception(exception)
  7.   File "/home/odoo/src/odoo/odoo/http.py", line 310, 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 693, in dispatch
  12.     result = self._call_function(**self.params)
  13.   File "/home/odoo/src/odoo/odoo/http.py", line 342, 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 335, in checked_call
  18.     result = self.endpoint(*a, **kw)
  19.   File "/home/odoo/src/odoo/odoo/http.py", line 937, in __call__
  20.     return self.method(*args, **kw)
  21.   File "/home/odoo/src/odoo/odoo/http.py", line 515, in response_wrap
  22.     response = f(*args, **kw)
  23.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 938, in call_button
  24.     action = self._call_kw(model, method, args, {})
  25.   File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 926, in _call_kw
  26.     return call_kw(request.env[model], method, args, kwargs)
  27.   File "/home/odoo/src/odoo/odoo/api.py", line 689, in call_kw
  28.     return call_kw_multi(method, model, args, kwargs)
  29.   File "/home/odoo/src/odoo/odoo/api.py", line 680, in call_kw_multi
  30.     result = method(recs, *args, **kwargs)
  31.   File "/home/odoo/src/odoo/addons/sale/models/sale.py", line 388, in print_quotation
  32.     self.filtered(lambda s: s.state == 'draft').write({'state': 'sent'})
  33.   File "/home/odoo/src/user/chou_notifications/models/sale_order.py", line 25, in write
  34.     return result
  35. UnboundLocalError: local variable 'result' referenced before assignment
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