Merge lp:~openerp-dev/openobject-addons/trunk-bug-727083-ara into lp:openobject-addons

Proposed by Ashvin Rathod (OpenERP)
Status: Merged
Merged at revision: 4507
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-727083-ara
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
account_voucher/account_voucher.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-727083-ara
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
Review via email: mp+51727@code.launchpad.net

Description of the change

Hello,

fix the bug: account_voucher- Can not search vouchers on bank/cash statement lines
https://bugs.launchpad.net/openobject-addons/+bug/727083

Thanks,
ara

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_voucher/account_voucher.py'
2--- account_voucher/account_voucher.py 2011-01-28 13:32:54 +0000
3+++ account_voucher/account_voucher.py 2011-03-01 11:07:57 +0000
4@@ -125,7 +125,7 @@
5 result = mod_obj.get_object_reference(cr, uid, 'account_voucher', 'view_vendor_payment_form')
6 result = result and result[1] or False
7 view_id = result
8- if not view_id and context.get('line_type', False):
9+ if not view_id and view_type == 'form' and context.get('line_type', False):
10 if context.get('line_type', False) == 'customer':
11 result = mod_obj.get_object_reference(cr, uid, 'account_voucher', 'view_vendor_receipt_form')
12 else:

Subscribers

People subscribed via source and target branches

to all changes: