Bharat Devnani (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-867461-bde into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #867461 in OpenERP Addons: "in bank statement form when i tried to import
invoice from button import invoices"
https://bugs.launchpad.net/openobject-addons/+bug/867461
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-867461-bde/+merge/79064
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.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-867461-bde/+merge/79064
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-867461-bde.
=== modified file 'account_voucher/account_voucher.py'
--- account_voucher/account_voucher.py 2011-10-02 17:31:16 +0000
+++ account_voucher/account_voucher.py 2011-10-12 06:50:28 +0000
@@ -1056,7 +1056,7 @@
for obj in self.browse(cr, uid, ids, context=context):
if obj.voucher_id:
diff = abs(obj.amount) - obj.voucher_id.amount
- if not self.pool.get('res.currency').is_zero(cr, uid, obj.voucher_id.currency_id, diff):
+ if not self.pool.get('res.currency').is_zero(cr, uid, obj.statement_id.currency, diff):
return False
return True
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp