humanytek / ndk

0 stars 0 forks source link

[FIXO] pos sales orders not synchronized to the server #1

Closed humanytek closed 9 years ago

humanytek commented 9 years ago

Steps to reproduce the problem ...

  1. go to > Point of Sale / Daily Operations / Your session
  2. Create session or start selling
  3. make one simple sale in POS front end
  4. pay the sale in POS front end

In this moment the los server show the next traceback, and the sale dont sync to the server.

2015-09-15 16:45:22,606 16846 ERROR ndk_pruebas openerp.netsvc: ¡Configuration error! No account receivable defined to make payment. Traceback (most recent call last): File "/home/openerp/server/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/openerp/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, _params) File "/home/openerp/server/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, args, _kw or {}) File "/home/openerp/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, _args, _kwargs) File "/home/openerp/server/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, _args, _kw) File "/home/openerp/server/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, _args, *_kw) File "/home/openerp/server/openerp/addons/point_of_sale/point_of_sale.py", line 517, in create_from_ui }, context=context) File "/home/openerp/server/openerp/addons/point_of_sale/point_of_sale.py", line 772, in add_payment raise osv.exceptosv(('Configuration error!'), msg) except_osv: (u'\xa1Configuration error!', u'No account receivable defined to make payment.') 2015-09-15 16:45:22,611 16846 INFO ndk_pruebas werkzeug: 187.188.240.46 - - [15/Sep/2015 16:45:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2015-09-15 16:45:22,777 16846 INFO ndk_pruebas werkzeug: 187.188.240.46 - - [15/Sep/2015 16:45:22] "GET /web/binary/image?model=product.product&field=image&id=49931&session_id=db8e324f1a734875a06673d4f592e3c7 HTTP/1.1" 200 - ^C