Merge lp:~openerp-dev/openobject-addons/6.0-opw-574160-skh into lp:openobject-addons/6.0

Proposed by Somesh Khare
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 5296
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-574160-skh
Merge into: lp:openobject-addons/6.0
Diff against target: 12 lines (+1/-1)
1 file modified
account/account_move_line.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-574160-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+115894@code.launchpad.net

Description of the change

Hello Sir,

[Fix]: In 6.0 when you open "Manual Reconciliation" Menu, Entries to reconcile did not appear.

Steps:
1. Create two invoices for two different partners and validate them
2. Now Open "Accounting/Periodical Processing/Reconciliation/Manual Reconciliation" menu"

list view has now records in it. This branch fixes this issue.

Kindly review the branch and please share your views.

Thanks,
Somesh Khare

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve

Unmerged revisions

5296. By Somesh Khare

[FIX] [6.0]account_move_line : Manual reconciliation did not display partnerts to reconcile (Case: ref 574160)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_move_line.py'
2--- account/account_move_line.py 2012-03-06 12:36:12 +0000
3+++ account/account_move_line.py 2012-07-20 06:41:00 +0000
4@@ -721,7 +721,7 @@
5 AND l.state <> 'draft'
6 GROUP BY l.partner_id
7 ) AS s ON (p.id = s.partner_id)
8- WHERE debit > 0 AND credit > 0
9+ WHERE debit >= 0 AND credit >= 0
10 ORDER BY p.last_reconciliation_date LIMIT 1 OFFSET %s""", (offset, )
11 )
12 return cr.fetchone()