Odoo Help


[9.0e]POS: pos_mercury: How to define receivable account for payments

Khalid Elsheikh
on 3/15/16, 6:40 AM 1,196 views

Traceback (most recent call last):  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\http.py", line 599, in _handle_exception    return super(JsonRequest, self)._handle_exception(exception)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\http.py", line 636, in dispatch    result = self._call_function(**self.params)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\http.py", line 315, in _call_function    return checked_call(self.db, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\service\model.py", line 118, in wrapper    return f(dbname, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\http.py", line 308, in checked_call    result = self.endpoint(*a, **kw)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\http.py", line 887, in __call__    return self.method(*args, **kw)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\http.py", line 465, in response_wrap    response = f(*args, **kw)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\addons\web\controllers\main.py", line 971, in call_kw    return self._call_kw(model, method, args, kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\addons\web\controllers\main.py", line 963, in _call_kw    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\api.py", line 232, in wrapper    return old_api(self, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\addons\point_of_sale\point_of_sale.py", line 763, in create_from_ui    order_id = self._process_order(cr, uid, order, context=context)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\api.py", line 232, in wrapper    return old_api(self, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\addons\point_of_sale\point_of_sale.py", line 718, in _process_order    self.add_payment(cr, uid, order_id, self._payment_fields(cr, uid, payments[2], context=context), context=context)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\api.py", line 232, in wrapper    return old_api(self, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\api.py", line 327, in old_api    result = method(recs, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\addons\pos_mercury\models\pos_mercury.py", line 73, in add_payment    statement_id = super(pos_order_card, self).add_payment(order_id, data)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\api.py", line 230, in wrapper    return new_api(self, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\api.py", line 463, in new_api    result = method(self._model, cr, uid, *args, **kwargs)  File "C:\Bitnami\odoo-9.0-1\apps\odoo\Lib\site-packages\odoo-9.0_20151109-py2.7.egg\openerp\addons\point_of_sale\point_of_sale.py", line 1038, in add_payment    raise UserError(msg)UserError: (u'There is no receivable account defined to make payment.', None)

How can I solve this issue? I've tried and created account receivable journal but it does not show in the POS configuration? Can any one help please

webTronex, Khalid Elsheikh
on 3/15/16, 7:11 AM

Please try to use meaningful titles.

Ermin Trevisan
on 3/15/16, 11:22 AM

Axel Mendoza

--Axel Mendoza--
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
On 3/15/16, 1:54 PM

Just configure the accounting wizard to select an specific accounting chart of template for your country, that will create all the accounts and their default properties per company.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/15/16, 6:40 AM
Seen: 1196 times
Last updated: 3/15/16, 7:44 PM