← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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



Follow ups

References