← Back to team overview

openerp-india team mailing list archive

[Bug 1226860] [NEW] Bug in margin of sales

 

Public bug reported:

1) Steps to reproduce the issue you have observed
1.- Create a tax of sale, with field 'price_include' = True,

2.- And you create a new sale order, and add a line, with the tax create
in the step 1, unit unit = 100,  cost unit = 50. Update the amounts, and
the margin is calculated.

http://www.youtube.com/watch?v=KfbdYptJdTk&feature=youtu.be

2) The result you observed 
I see that the margin is incorrect, because was calculated with the unit price plus  the amount of tax.
Unit tax = 100
Cost Unit = 50
Subtotal = 86.21
margin = 50

3) The result you expected 
margin = subtotal - cost unit
Margin = 86.21 - 50 = 36.21

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

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

Title:
  Bug in margin of sales

Status in OpenERP Addons (modules):
  New

Bug description:
  1) Steps to reproduce the issue you have observed
  1.- Create a tax of sale, with field 'price_include' = True,

  2.- And you create a new sale order, and add a line, with the tax
  create in the step 1, unit unit = 100,  cost unit = 50. Update the
  amounts, and the margin is calculated.

  http://www.youtube.com/watch?v=KfbdYptJdTk&feature=youtu.be

  2) The result you observed 
  I see that the margin is incorrect, because was calculated with the unit price plus  the amount of tax.
  Unit tax = 100
  Cost Unit = 50
  Subtotal = 86.21
  margin = 50

  3) The result you expected 
  margin = subtotal - cost unit
  Margin = 86.21 - 50 = 36.21

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


Follow ups

References