Skip to content

Instantly share code, notes, and snippets.

@W360S
Created October 19, 2018 08:09
Show Gist options
  • Save W360S/1aa3d0cc7707c1a46834d7e2f1fe8bf3 to your computer and use it in GitHub Desktop.
Save W360S/1aa3d0cc7707c1a46834d7e2f1fe8bf3 to your computer and use it in GitHub Desktop.
Mobilkul logs error
2018-10-19 08:07:53,368 4200 ERROR sasamviet.com werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 193, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 181, in execute
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 250, in app
return self.app(e, s)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 166, in application
return application_unproxied(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 154, in application_unproxied
result = handler(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1318, in __call__
return self.dispatch(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1292, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/wsgi.py", line 599, in __call__
return self.app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1490, in dispatch
result = ir_http._dispatch()
File "/home/en-addons/addons/website_sale/models/ir_http.py", line 15, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/home/en-addons/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "/home/en-addons/addons/web_editor/models/ir_http.py", line 22, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/home/en-addons/addons/http_routing/models/ir_http.py", line 393, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "/home/en-addons/addons/utm/models/ir_http.py", line 26, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "/home/en-addons/addons/base/ir/ir_http.py", line 212, in _dispatch
return cls._handle_exception(e)
File "/home/en-addons/addons/website/models/ir_http.py", line 164, in _handle_exception
return super(Http, cls)._handle_exception(exception)
File "/home/en-addons/addons/utm/models/ir_http.py", line 31, in _handle_exception
response = super(IrHttp, cls)._handle_exception(exc)
File "/home/en-addons/addons/base/ir/ir_http.py", line 182, in _handle_exception
return request._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 770, in _handle_exception
return super(HttpRequest, 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 "/home/en-addons/addons/base/ir/ir_http.py", line 208, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 829, in dispatch
r = 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 "/home/ws_mobile/mobikul/controllers/main.py", line 1029, in placeMyOrder
result = self.placeOrder(response.get('customerId'))
File "/home/ws_mobile/mobikul/controllers/main.py", line 1097, in placeOrder
result = self._sendPaymentAcknowledge(last_order,Partner,customerId,{})
File "/home/ws_mobile/mobikul/controllers/main.py", line 1035, in _sendPaymentAcknowledge
last_order.with_context(send_email=True).action_confirm()
File "/home/addons/website_loyalty_management/models/inherited.py", line 114, in action_confirm
res = super(SaleOrder, self).action_confirm()
File "/home/en-addons/addons/delivery/models/sale_order.py", line 54, in action_confirm
res = super(SaleOrder, self).action_confirm()
File "/home/en-addons/addons/sale_coupon/models/sale_order.py", line 48, in action_confirm
return super(SaleOrder, self).action_confirm()
File "/home/en-addons/addons/sale/models/sale.py", line 545, in action_confirm
self._action_confirm()
File "/home/en-addons/addons/sale_stock/models/sale_order.py", line 40, in _action_confirm
order.order_line._action_launch_procurement_rule()
File "/home/en-addons/addons/procurement_jit/sale.py", line 12, in _action_launch_procurement_rule
res = super(SaleOrderLine, self)._action_launch_procurement_rule()
File "/home/en-addons/addons/sale_stock/models/sale_order.py", line 276, in _action_launch_procurement_rule
raise UserError('\n'.join(errors))
odoo.exceptions.UserError: ('No procurement rule found. Please verify the configuration of your routes', '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment