← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 750498] Re: sales_margin bad calculation in sales make in currency not base

 

Hello Ariel E. Figueroa,

You are facing this problem may be because of wrong configuration of the
base currency.

Please check that as MXN is your base currency, Rate is set to 1(Base
currency Rate is always set to 1).

And for Dollar the Rate is set to 0.084033.

If you are still getting the same problem please feel free to tell us.

Thanks,
Purnendu Singh

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

Title:
  sales_margin bad calculation in sales make in currency not base

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  under the following scenario sales_margin module is not correctly
  calculating the margin of a sale:

  The base currency is Mexican Pesos (MXN) and the rate is 0.084033 dollars per peso.
  The product costs $ 15000.00 pesos
  The sale price is 35000.00 pesos.

  Making a sale of the product in dollars, the system calculates the
  margin to next form:

  2941.15 (sale price in dollars) - 15000 (purchase price in pesos) =
  Incorrect margin: -12058.85



References