← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 812261] Re: problem with the compute currency of account move line of an invoice

 

Hello Salvi Angjeli,

I have again tested the scenario mentioned by you. The previous version is working fine. 
So, following is the test case :

Invoice Date : 08/02/2011
Currency : AUD

In Currency Rates
---------------------------

Date	                Rate	
2011-05-02	5.0	
2011-01-01	1.407	

Invoice Lines
--------------------

[CPU_GEN] Regular processor config	X2001 Product Sales - (test)	1.0	PCE	300.0	0.0	False	
[HDD1] HDD Seagate 7200.8 80GB	X2001 Product Sales - (test)	1.0	PCE	50.0	        0.0	False	

After Validating it generates

Invoice   Debit	Credit	Amount Currency	Currency	
	
SAJ/2011/023 	70.0	0.0	False	350.0	AUD ($)	False	0.0	valid	False	False	

SAJ2011023      SAJ/2011/023    [HDD1] HDD Seagate 7200.8 80GB  Agrolait
X2001 Product Sales - (test)    False   0.0     10.0    False   -50.0
AUD ($) False   0.0     valid   False   False

SAJ2011023      SAJ/2011/023    [CPU_GEN] Regular processor config
Agrolait        X2001 Product Sales - (test)    False   0.0     60.0
False   -300.0  AUD ($) False   0.0     valid   False   False

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

Title:
  problem with the compute currency of account move line of an  invoice

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  The compute amount currency of the account move lines of an invoice (
  in case when from an invoice are created more than one account move
  lines) in not correct because is base not in the Invoice date but in
  the current date

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/812261/+subscriptions


References