SHARE
TWEET

Untitled

a guest Mar 18th, 2019 48 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 "/usr/lib/python3/dist-packages/odoo/http.py", line 654, in _handle_exception
  6.     return super(JsonRequest, self)._handle_exception(exception)
  7.   File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception
  8.     raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  9.   File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
  10.     raise value
  11.   File "/usr/lib/python3/dist-packages/odoo/http.py", line 696, in dispatch
  12.     result = self._call_function(**self.params)
  13.   File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function
  14.     return checked_call(self.db, *args, **kwargs)
  15.   File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
  16.     return f(dbname, *args, **kwargs)
  17.   File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call
  18.     result = self.endpoint(*a, **kw)
  19.   File "/usr/lib/python3/dist-packages/odoo/http.py", line 939, in __call__
  20.     return self.method(*args, **kw)
  21.   File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap
  22.     response = f(*args, **kw)
  23.   File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 966, in call_button
  24.     action = self._call_kw(model, method, args, {})
  25.   File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw
  26.     return call_kw(request.env[model], method, args, kwargs)
  27.   File "/usr/lib/python3/dist-packages/odoo/api.py", line 749, in call_kw
  28.     return _call_kw_multi(method, model, args, kwargs)
  29.   File "/usr/lib/python3/dist-packages/odoo/api.py", line 736, in _call_kw_multi
  30.     result = method(recs, *args, **kwargs)
  31.   File "/var/lib/odoo/addons/12.0/METQUAY_API_V3/models/sale_order.py", line 112, in create_customer_instrument_from_orderline
  32.     api_url_data = "/FlexicalERP/rest/customerInstrument/createCustomerInstrument" if not self.exported_using_api else "/FlexicalERP/rest/customerInstrument/updateCustomerInstrument"
  33. AttributeError: 'sale.order' object has no attribute 'exported_using_api'
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top