← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 770503] Re: account voucher bug when the currency of the journal is different from the currency of the company

 

Hellp Vinay,

There are not problems when you pay an  invoice that create only one   
"account.move.line" during the validation, but  my example is a bit more  
complex:
1.My company currency is in USD.
2.I create a cash journal, with a  journal currency in EUR.
3.I create a new payment term like this ( Payment term: "Advance Payment" , with 
a computation sequence where
the first row is (sequence:1,line name:Advance, valuation:Percent, Value amount: 
0.5,number of days:0, day of the month:0)
and second row  is(sequence:5,line name:30 Days End of Month, 
valuation:Balance,number of days:30, day of the month:-1)

Now lets create an invoice, ( the currency of invoice will be  in USD by  
default), choose like a payment term : "Advance Payment"

In this case after the validation of the invoice the system will generate two 
account.move.line  connected with this invoice.

Now if you try to pay the invoice by the "Payment" button in the invoice form,  
choosing like a Payment method "Cash (EUR)" and 

inserting in the "paid amount" field an amount smaller than the half of  the 
total amount of the invoice, i expected that the system will
pay only one of the two "account.move.line" created  for this invoice, but the 
system change both of them.

Thanks
Salvi

-- 
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/770503

Title:
  account voucher bug when the currency of the journal is different from
  the currency of the company

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  There is a bug when we create a voucher with a journal that have a
  different currency from the company currency. The system make a
  difference between values with different currencies.


References