← 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,

Please ignore #3 Comment, 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          350.0            AUD ($)

SAJ/2011/023   0.0       10.0         50.0             AUD ($)

SAJ/2011/023   0.0       60.0         300.0            AUD ($)

By this we can see that 350 / 5 (Rate on 2011-05-02) which is 70 is
Debited. As Invoice Date is 08/02/2011, the system will consider less
than date i.e 2011-05-02 in order to calculate Amount Currency.

Thanks & Regards,
Devnani Bharat R.

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