← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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