Hi Amit, Close it because I think it was more a misunderstanding in the system than a real bug.
Thanks a lot for your work. Eric CAUDAL [email protected] <mailto:[email protected]> Cell phone: + 86 186 2136 1670 Elico Corp, Shanghai OpenERP Ready Partner http://www.elico-corp.com -- 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/780394 Title: Location Content Report is invalid with currencies Status in OpenERP Modules (addons): Invalid Bug description: in 6.0 How to reproduce: Change price type currency for purchase (EUR instead of CNY the main currency). CNY/EUR = 0.1 Buy 1 product for 1 Eur Make reception in location (1eur) in postgresql (stock_move), there is 1 as price_unit When printing the location content report, the value is 100 CNY instead of 10 expect. in product/price_get, the price is converted 2 times as the currency is passed in content: - in: res[product.id] = product[ptype] or 0.0 (gives already 10 CNY) - and in if 'currency_id' in context: # Take the price_type currency from the product field # This is right cause a field cannot be in more than one currency res[product.id] = self.pool.get('res.currency').compute(cr, uid, price_type_currency_id, context['currency_id'], res[product.id],context=context) To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/780394/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

