← Back to team overview

openerp-india team mailing list archive

[Bug 1036498] Re: end balance dont consider balance_start in statement reconcilation

 

Hello Cristian,

This is not a bug but this same thing is working from 5.0 , 6.0.

Ravish is Absolutely right and already put the screens for that.

Let me explain more here.
Compute button never calculate your ending balance, Its calculated your starting balance which is from your last confirm statement (Ending balance). So the thing this COMPUTE BUTTON CALCULATE YOUR STARTING BALANCE FROM YOUR LAST CONFIRM STATEMENT'S ENDING BALANCE, ITS NEVER BEEN CALCULATED YOUR ENDING BALANCE. and its working fine.

Finally not a valid issue and I am closing it.

Thank you!

** Changed in: openobject-addons
       Status: Incomplete => Invalid

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

Title:
  end balance dont consider balance_start in statement reconcilation

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  With latest revno for 6.1.

  Create and approve a supplier invoice
  pay it
  Go to partial processing, statement reconciliation create one for journal used to pay invoice, select the bank move line
  Click on compute

  See the balance_end get the total in credit amount for line, this is
  wrong because needs to less balance_start.

  The _end_balance function for balance_end field is not wrong: just
  consider last balance and sum(amount) from lines, the change is in the
  store option in field this change with:

          'balance_end': fields.function(_end_balance,
              store = {
                  'account.bank.statement': (lambda self, cr, uid, ids, c={}: ids, ['line_ids','move_line_ids'], 10),
                  'account.bank.statement.line': (_get_statement, ['amount'], 10),
              },
              string="Computed Balance", help='Balance as calculated based on Starting Balance and transaction lines'),

  In 6.0 was store=True

  Please check, this is locking bug store arguments are not working, i
  attached and image showing the message.

  Regards,

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


References