← Back to team overview

openerp-india team mailing list archive

[Bug 949579] [NEW] Error to save, in POS, New Cash Register does not store subtotal in opening & Closing Balance.

 

Public bug reported:

Steps up the error:

Accounting >>Cash and bank >> cash registers >>New

in cashbox tab, Opening Balance.

1) add initial balance
2) keep the record created
3) pop-up window appears with the error

I use Ubuntu Server 11.10, OpenERP 6.1 Nightly 06-Mar-2012

OpenERP web client in mozilla firefox.

error saving or editing the cash register at the POS.:

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

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/949579

Title:
  Error to save, in POS, New Cash Register does not store subtotal in
  opening & Closing Balance.

Status in OpenERP Addons (modules):
  New

Bug description:
  Steps up the error:

  Accounting >>Cash and bank >> cash registers >>New

  in cashbox tab, Opening Balance.

  1) add initial balance
  2) keep the record created
  3) pop-up window appears with the error

  I use Ubuntu Server 11.10, OpenERP 6.1 Nightly 06-Mar-2012

  OpenERP web client in mozilla firefox.

  error saving or editing the cash register at the POS.:

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

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

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


Follow ups

References