Merge lp:~openerp-dev/openobject-addons/trunk-bug-1175990-mba into lp:openobject-addons

Proposed by Mahendra Barad(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1175990-mba
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
account/account_bank_statement.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1175990-mba
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+195764@code.launchpad.net

Description of the change

Hello sir,

I have fix the issue of bank statement calculated only with two digits.
i have added get_precision in computed balance.

Thank you.

To post a comment you must log in.

Unmerged revisions

8983. By Mahendra Barad(OpenERP)

[FIX]fix the issue of bank statement calculattion as only two digits

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_bank_statement.py'
2--- account/account_bank_statement.py 2013-06-14 09:19:24 +0000
3+++ account/account_bank_statement.py 2013-11-19 12:37:01 +0000
4@@ -111,7 +111,7 @@
5 store = {
6 'account.bank.statement': (lambda self, cr, uid, ids, c={}: ids, ['line_ids','move_line_ids','balance_start'], 10),
7 'account.bank.statement.line': (_get_statement, ['amount'], 10),
8- },
9+ }, digits_compute=dp.get_precision('Account'),
10 string="Computed Balance", help='Balance as calculated based on Starting Balance and transaction lines'),
11 'company_id': fields.related('journal_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True),
12 'line_ids': fields.one2many('account.bank.statement.line',

Subscribers

People subscribed via source and target branches

to all changes: