← Back to team overview

openerp-india team mailing list archive

[Bug 1238525] Re: [7.0] Wrong average cost computation when price type currency is different from company currency

 

** Attachment added: "Testing with pricelist in different currency: SUCCEED"
   https://bugs.launchpad.net/ocb-addons/+bug/1238525/+attachment/3874139/+files/average_price_multicurrency_pricelist.yml

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1238525

Title:
  [7.0] Wrong average cost computation when price type currency is
  different from company currency

Status in OpenERP Community Backports (Addons):
  Confirmed
Status in OpenERP Addons (modules):
  New

Bug description:
  Test done with :
  http://7-0-22302.runbot.openerp.com/?db=7-0-22302-base

  Prerequisites
  ----------------------
  * Install Warehouse management & Purchase
  * Go to setting / Configuaration / Purchases and activate 'Manage pricelist per supplier' & 'Compute product cost price based on average cost'
  * Go to setting / Configuration / Invoicing and activate 'Allow multi-currency'
  * Give the Admin user the Technical Features rights and Financial Manager
  * The company is in EUR
  * Go to Purchases / Configuration / Pricelists / Price Types
  * Modify the currency of the Price type 'Cost Price' to : USD
  (This means cost price in all product form are now USD costs.)
  * Ensure the current rate of USD is : 1.528900
  * Ensure the cost of product 'USB Adapter' is 13.00 and current Qty in inventory is : 0

  How to reproduce the bug ?
  ------------------------------------------------
  * Create a new Supplier quotation to ASUStek with product 'USB Adapter' – Qty : 1 – Change the unit price to 20.(This quotation is in EUR)
  * Confirm Order
  * Receive Products effectively
  * Go to Product form and see that the Cost price is 20 → WRONG
  EXPECTED :  it should be 20€ * 1.528900 = 30.58 $ since my price type is in USD.

  
  Thanks

  Frederic Clementi
  Camptocamp SA

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


References