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
=== modified file 'account_voucher/account_voucher.py'
--- account_voucher/account_voucher.py 2011-01-28 13:32:54 +0000
+++ account_voucher/account_voucher.py 2011-03-01 11:07:57 +0000
@@ -125,7 +125,7 @@
125 result = mod_obj.get_object_reference(cr, uid, 'account_voucher', 'view_vendor_payment_form')125 result = mod_obj.get_object_reference(cr, uid, 'account_voucher', 'view_vendor_payment_form')
126 result = result and result[1] or False126 result = result and result[1] or False
127 view_id = result127 view_id = result
128 if not view_id and context.get('line_type', False):128 if not view_id and view_type == 'form' and context.get('line_type', False):
129 if context.get('line_type', False) == 'customer':129 if context.get('line_type', False) == 'customer':
130 result = mod_obj.get_object_reference(cr, uid, 'account_voucher', 'view_vendor_receipt_form')130 result = mod_obj.get_object_reference(cr, uid, 'account_voucher', 'view_vendor_receipt_form')
131 else:131 else:

Subscribers

People subscribed via source and target branches

to all changes: