POS tax included

Bug #710334 reported by filsys
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

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.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Confirmed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Filsys,

This problem specific to point of sale but also appear in sale order. So it is rounding issue.

I keep open this bug for now and move it to wishlist.

Thank you,
mra

Changed in openobject-addons:
importance: Low → Wishlist
Revision history for this message
filsys (office-filsystem) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.