Merge lp:~openerp-dev/openobject-addons/trunk-bug-1102217-ishwar into lp:openobject-addons

Proposed by Ishwar Malvi(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1102217-ishwar
Merge into: lp:openobject-addons
Diff against target: 11 lines (+1/-1)
1 file modified
account/account_cash_statement.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1102217-ishwar
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+151195@code.launchpad.net

This proposal supersedes a proposal from 2013-02-21.

Description of the change

fixed Opening With Last Closing Balance error

To post a comment you must log in.
8547. By Ishwar Malvi(OpenERP)

[MERGE] with trunk

8548. By Ishwar Malvi(OpenERP)

[MERGE] with trunk

Unmerged revisions

8548. By Ishwar Malvi(OpenERP)

[MERGE] with trunk

8547. By Ishwar Malvi(OpenERP)

[MERGE] with trunk

8546. By Ishwar Malvi(OpenERP)

Merge with trunk

8545. By Ishwar Malvi(OpenERP)

[FIX] account:Opening With Last Closing Balance error

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_cash_statement.py'
2--- account/account_cash_statement.py 2013-02-15 17:50:42 +0000
3+++ account/account_cash_statement.py 2013-03-28 05:15:28 +0000
4@@ -200,7 +200,7 @@
5 if journal.with_last_closing_balance == True:
6 domain = [('journal_id', '=', journal.id),
7 ('state', '=', 'confirm')]
8- last_bank_statement_ids = self.search(cr, uid, domain, limit=1, order='create_date desc', context=context)
9+ last_bank_statement_ids = self.search(cr, uid, domain, limit=1, order='closing_date desc', context=context)
10 if last_bank_statement_ids:
11 last_bank_statement = self.browse(cr, uid, last_bank_statement_ids[0], context=context)
12

Subscribers

People subscribed via source and target branches

to all changes: