|
Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 677, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 885, in call_kw return self._call_kw(model, method, args, kwargs) File "/odoo/odoo-server/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 679, in call_kw return call_kw_model(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 664, in call_kw_model result = method(recs, *args, **kwargs) File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 550, in create_from_ui pos_order = self._process_order(order) File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 115, in _process_order order.add_payment(self._payment_fields(payments[2])) File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 756, in add_payment args = self._prepare_bank_statement_line_payment_values(data) File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 731, in _prepare_bank_statement_line_payment_values raise UserError(msg) UserError: (u'There is no receivable account defined to make payment.', None)