openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15527
[Bug 1036498] Re: end balance dont consider balance_start in statement reconcilation
Hello Ravish, please test it in 6.1 after click on compute button
balance_end field is not updated.
Regards,
** Attachment added: "wrong balance_end"
https://bugs.launchpad.net/openobject-addons/+bug/1036498/+attachment/3308333/+files/Captura%20de%20pantalla%202012-09-11%20a%20la%28s%29%2016.38.56.png
--
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):
Incomplete
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