← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 661315] Re: Pricelists use wrong values from other currencies

 

  On 18/10/10 11:54, Julian Robbins wrote:
>    On 18/10/10 08:06, DHS(OpenERP) wrote:
>> Hello Julian Robbins,
>>
>> The scenario is as follows :
>>
>> While creating a sale order, any pricelist selected on the order will be
>> applied to the whole order and currency on the pricelist is applied too.
>>
>> i.e. If you are creating pricelist on the bases of USD then it will
>> create a SO in the USD. The total amount you are getting is in USD "NOT
>> IN GBP" . Invoice is also created in the USD. ( Providing , GBP is the
>> company currency)
> Hello
>
> I'm only testing up to making a Quotation/Sales Order.
>
> I understand what you say, but I found that having three active
> pricelists, and currencies setup properly for each one, that I still get
> either a value of zero in the total lines, for currencies in anything
> other than GBP, or had the case where i got a figure that was the dollar
> conversion amount rather than the EUR conversion amount when the
> pricelist was set in EUR.
>
> I understand about the pricelist changing the values for all the sale
> order lines, but I am referring to sale order lines that have just been
> added, which should be correct the the pricelist selected just prior to
> adding those sale order lines.
>
> I will try to replicate the bug for you, but am certain that there is
> something amiss. Usually the bug is found fairly quickly after creating
> two or more pricelists and updating currencies, or swapping currencies
> on a pricelist.

Is this related ?

http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/revision/4398#product/pricelist.py

Only code being removed and not being added is shown in launchpad at the 
moment.

I will try and test with trunk, and see if its better

> Julian
>
>> Invoice created from the SO will contain the same price in USD. After
>> you Validate the invoice, account moves(journal entries) will be created
>> and it will contain amount with the company currency GBP.
>>
>> ( The amount gets converted into the Company currency which is GBP in
>> your case)
>>
>> Please, let us know if the above information is not enough for you.
>>
>> Thanks.
>>
>


-- 
Kind Regards,

Julian Robbins
Web Marketing and IT Manager

Q-par Angus Ltd
Barons Cross Laboratories
Leominster
Herefordshire
HR6 8RS
United Kingdom

Telephone +44 (0) 1568 612138
Fax       +44 (0) 1568 616373
Web 	  	www.q-par.com

IDEAS ENGINEERED - SPECIALISTS IN MICROWAVE and RF ENGINEERING

(Registered office) Incorporated in England No 1826221

-- 
Pricelists use wrong values from other currencies
https://bugs.launchpad.net/bugs/661315
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: Incomplete

Bug description:
Using trunk 6, rev 4350

Difficult to recreate, but I keep getting issues with pricelists for different currencies.

I setup 3 currencies, GBP, EUR, and USD. But only pricing with GBP pricelist works properly, sales orders created with the other pricelists give errors where it says that there is a value missing in the pricelist (where I can find no reason that a price isn't given); if the pricelist depends on GBP pricing it is using Public Price, and works fine.

What convinced me where the error lies is that with one my EUR pricelists on a sales order, I have got values that are approx 1.63 times base GBP values (which is set as our default currency). But 1.63 is actually the value of the USD currency as set today, not EUR ! So somewhere, a pricelist is using the wrong currency, or possibly using an id from a currency that has been changed, but the new currency isn't shown, only the old currency value. I have gone through the config carefully, and am sure that it is correct, but that there is a bug.

As I say its not easy to replicate, but please investigate as I'm certain there is an issue here regarding currency values on pricelists.

I happy to try to help, if you need more specific info. But certainly there is a major bug with pricelists in a different currency here.





References