← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710334] Re: POS tax included

 

Yes, in point_of_sale.py is a rounding issue. 
But, in my opinion, price/tax calculation is a method issue. 
Please consider that if I set a price for product P1 at 124 EUR with tax included and if I sell 1 unit, then on invoice and on pos receipt the customer need to read total including tax= 124, whatever tax. 
The method for tax calculation for price with tax included is:
'tax' = 'price with tax' * 'tax%' / (100+'tax%') 
and 'price without tax' = 'price with tax' - 'tax'. 
The method for tax calculation for price without tax included is: 
'tax' = 'price without tax' * 'tax%' / 100 
and 'price with tax' = 'price without tax' + 'tax'. 
I think that this discution is open also in another post but I don't remember where.
Thanks.

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

Title:
  POS tax included

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  About POS:
  1. In POS is usual price with tax included. So point_of_sale need imrovement to tax_included.
  2. About discount: I can use discount in % or price_ded as amount. If I use price_ded, then this amount must use in calculate subtotal and amount total, not to recalculte with discount % (that induce errors). 
  If i sell 75 units of product 1 with price_unit=2.30 and price_ded=0.30, then subtotal must be 150.00 exactly.
  But, with your amount_all discount is 13.039999999999999% and with this subtotal is 150.01, that is wrong.
  This error afect acount moves generated from pos in cash statment that must be very precisely.





References