@Fabien i am agree with ideal functionality but now your are giving to voucher 
the residual what has nothing with item journal generated when validate the 
invoice.
I get this:
Supplier Invoice in USD with Total: 6417
Entry journal Generated: Creditor vs Expenses with 5000 EUR 
keep in mind that Pay button in invoice is for *pay* only *that* invoice total 
or partial, how works now, voucher lines amount(their amounts are in EUR) are 
loaded with default_amount as reference what 6417 has nothing with 5000 EUR 
Creditors generated from invoice.

I suggest, pass the residual invoice in Invoice currency (USD for this
example), in voucher loaded the Journal what get this currency if it'is
not found make the conversion and load the journal with default currency
company.

Regards,

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697080

Title:
  Payment Invoice is not considering the currency in Invoice

Status in OpenObject Addons Modules:
  New

Bug description:
  This test at v6 RC2

Create an Invoice
Choice a different Currency, USD for example
Add product
Validate the Invoice
Click on Pay Invoice

Here the Voucher Form is opened and in default_amount is the amount_residual 
from Invoice code confirm this:

At line 16 here : http://paste.pocoo.org/show/314287/ you can see how the 
default_amount by default with inv.residual what is wrong if you are working in 
Multi-currency invoice you *must* consider this

Best regards,



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to