← Back to team overview

openerp-india team mailing list archive

[Bug 938551] Re: In POS, New Cash Register does not store subtotal in opening & Closing Balance

 

I am still having problems with this :( Huge issue because it stops us
from using Openerp. I am also getting that stacktrace printout when
trying to open a new cashbox. Using version 6.1.1 of OpenErp:


Stacktrace output:



OpenERP Server Error

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 922, in create
    r = m.create(data, req.session.eval_context(req.context))
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 611, in send
    raise fault


Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 572, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/account/account_cash_statement.py", line 220, in create
    if end[2]['pieces'] == dict_val['pieces']:
TypeError: 'bool' object is not subscriptable

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/938551

Title:
  In POS, New Cash Register does not store subtotal in opening & Closing
  Balance

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  I have Open ERP 6.1 Version & using POS system. while creating new
  cash register in "Opening balance" panel system does not show sub
  total on save. hence the Total of Sub Total is not correct.

  Similarly in closing balance subtotal vanishes as soon as i click on
  Save button adjacent to individual line.

  Can any one help me how can i fix this problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/938551/+subscriptions


References