c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29801
[Bug 812261] Re: problem with the compute currency of account move line of an invoice
Hello Devnani,
This is the test case in my case:
Invoice Date: 08/01/2011
Currrency: AUD
Payment term: I create a payment term where 50% is compute now and 50% 30 days later
----------------------------------
Date rate
08/01/2011 5.0
08/02/2011 1.0
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
The validation of invoice is done 08/02/2011:
account move lines generated without the patch:
Invoice Debit Credit Amount Currency Currency
SAJ/2011/023 175.0 0.0 175.0 AUD ($)
SAJ/2011/023 175.0 0.0 1750.0 AUD ($)
SAJ/2011/023 0.0 50.0 50.0 AUD ($)
SAJ/2011/023 0.0 300.0 300.0 AUD ($)
This is not correct because the currency rate used by the system is the
currency rate of the day of validation and not the currency of the
invoice date
account move lines generated with the patch:
Invoice Debit Credit Amount Currency Currency
SAJ/2011/023 35 0.0 175.0 AUD ($)
SAJ/2011/023 35.0 0.0 1750.0 AUD ($)
SAJ/2011/023 0.0 10.0 50.0 AUD ($)
SAJ/2011/023 0.0 60.0 300.0 AUD ($)
Thanks.
Regards
Salvi Angjeli
--
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