Merge lp:~openerp-dev/openobject-addons/trunk-bug-867461-bde into lp:openobject-addons

Proposed by Bharat Devnani (Open ERP)
Status: Merged
Merged at revision: 5357
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-867461-bde
Merge into: lp:openobject-addons
Diff against target: 11 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-867461-bde
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
qdp (OpenERP) Pending
Review via email: mp+79064@code.launchpad.net

Description of the change

Hello Sir,

Thanks for your contribution and time, i have applied your given patch and it works fine in Importing Invoices from Bank Statements.

Thanks & Regards,
Devnani Bharat R.

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-10-02 17:31:16 +0000
3+++ account_voucher/account_voucher.py 2011-10-12 06:50:28 +0000
4@@ -1056,7 +1056,7 @@
5 for obj in self.browse(cr, uid, ids, context=context):
6 if obj.voucher_id:
7 diff = abs(obj.amount) - obj.voucher_id.amount
8- if not self.pool.get('res.currency').is_zero(cr, uid, obj.voucher_id.currency_id, diff):
9+ if not self.pool.get('res.currency').is_zero(cr, uid, obj.statement_id.currency, diff):
10 return False
11 return True
12

Subscribers

People subscribed via source and target branches

to all changes: