← Back to team overview

openerp-india team mailing list archive

[Bug 1199759] Re: [trunk/7.0]Traceback on deleting draft cash register linked with a pos session

 

** Tags added: bankstatement

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

Title:
  [trunk/7.0]Traceback on deleting draft cash register linked with a pos
  session

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  We get a traceback when we delete a draft "Cash Register" linked with
  a PoS Session. Following are the steps to reproduce the bug:

  1) Create a PoS session manually from PoS > Daily Operations > All Sessions  with Cash Control true on  a journal. Save.
  2) Open Cash Registers from Accounting > Bank and Cash > Cash Registers. Delete the linked cash register.
  3) Go to All Sessions and click a session. It'll give following traceback:

  AttributeError: Got KeyError('Field balance_end_real not found in
  browse_record(account.bank.statement, 12)',) while trying to get
  attribute balance_end_real on a account.bank.statement record.

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