Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-575500-ksa into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)
  Olivier Dony (OpenERP) (odo-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575500-ksa/+merge/109063

Hello,

Fixed when use different currency and payment through bank statement invoice 
residual amount is got negative instead of zero.

steps:
[1]Create a supplier invoice in EUR (company currency)
[2]Pay it via a bank statement in USD (you must have a usd journal) using  the 
'import invoice' button.
[3]make sure that in the voucher linked the amount is fully allocated 
(reconcile) on that invoice. validate you bk statement
[4]Check out the invoice  residual amount...you will get a negative residual 
instead of zero. 

Regards
KSA
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575500-ksa/+merge/109063
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-575500-ksa.
=== modified file 'account_voucher/wizard/account_statement_from_invoice.py'
--- account_voucher/wizard/account_statement_from_invoice.py	2012-01-31 13:36:57 +0000
+++ account_voucher/wizard/account_statement_from_invoice.py	2012-06-07 05:00:28 +0000
@@ -85,6 +85,7 @@
                             'currency_id':statement.currency.id,
                             'date':line.date,
                             'amount':abs(amount),
+                            'payment_rate': result['value']['payment_rate'],
                             'period_id':statement.period_id.id}
             voucher_id = voucher_obj.create(cr, uid, voucher_res, context=context)
 

_______________________________________________
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

Reply via email to