This question has been flagged
1 Reply
3795 Views

Hi im using  bitnami community version on AWS

this error appears when i want to charge a table at the POS.  How can i fix it? 

This is the complete error message:

Traceback (most recent call last):

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/http.py", line 638, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/http.py", line 675, in dispatch

    result = self._call_function(**self.params)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/http.py", line 331, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/service/model.py", line 119, in wrapper

    return f(dbname, *args, **kwargs)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/http.py", line 324, in checked_call

    result = self.endpoint(*a, **kw)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/http.py", line 933, in __call__

    return self.method(*args, **kw)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/http.py", line 504, in response_wrap

    response = f(*args, **kw)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/addons/web/controllers/main.py", line 882, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/addons/web/controllers/main.py", line 874, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/api.py", line 679, in call_kw

    return call_kw_model(method, model, args, kwargs)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/api.py", line 664, in call_kw_model

    result = method(recs, *args, **kwargs)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/addons/point_of_sale/models/pos_order.py", line 534, in create_from_ui

    pos_order = self._process_order(order)

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/addons/point_of_sale/models/pos_order.py", line 114, in _process_order

    order.add_payment(self._payment_fields(payments[2]))

  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170417-py2.7.egg/odoo/addons/point_of_sale/models/pos_order.py", line 705, in add_payment

    raise UserError(msg)

UserError: (u'There is no receivable account defined to make payment.', None)

Avatar
Discard
Best Answer

dear Mr. alvaro hernandez

You must install chart of account on your DB and try again if you did not installed.

I hope I helped you...

Avatar
Discard