Wrong tax calculation in point of sale (POS)

Bug #589256 reported by Similys
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

In the point os sale, the calculated tax is wrong.

By default, a class of tax has an option to say if it's calculation implies that the base price is including tax, or excluding tax.

When I create a sale order from the normal sale screen, I buy a PC1 with 21 of VAT, the total price is 544,50 EUR, with 94,50 EUR of VAT.

When I do the same order from the point of sale, I get a total price of 450 EUR, with 78,10 EUR of VAT !

Of course, all reports are wrong too.

In the code, module point_of_sale -> pos.py
 in class pos_order, the method _amount_tax

=> the code calls compute_inv method from account.py, which computes prices just like the base price is always VAT included.

Related branches

Revision history for this message
Similys (openerp-similys) wrote :
Revision history for this message
yohan pannet (yohan-pannet) wrote :

A quick question / guess:
Have you tried to install the extras module 'sale_tax_include'? The tax included option only works for sale orders when it is installed.

Revision history for this message
Similys (openerp-similys) wrote :

point_of_sale has a dependency on sale_tax_include, so the module has it already by default.

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

Hello Similys,

There are quite a few issues with the 'certified' Point of Sale module. It doesnt work as you would expect and I personally never advice the use of the module because it creates a different object other than sale to record sales.

And this object unfortunately is rarely handled in other parts of the system like 'sale' is.

If i remember there are quite a few issues with accounts postings and invice conversions too.

Try the sale_simple_pos module (http://doc.openerp.com/technical_guide/sale_simple_pos.html) if what you are looking for is simplification of sales process

Revision history for this message
Carlos Liebana (carlos-liebana) wrote :

You can't try also POS_extension from extra-addons. We've got a couple of implementations and it's working as it should be.

Revision history for this message
Samantha (samantha-z-mathews) wrote :

wrong project referenced

affects: openobject-server → openobject-addons
Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :

Hello Similys,

I have tested your scenario in updates code. And it works fine in both module sale and point_of_sale.and you need to give the tax in product while making a sale order in point_of_sale module.I have attached the screen shots of both sale orders.

Thanks.

Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :
Changed in openobject-addons:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Nathan (nathan-bowden-kiwi) wrote :

might be a duplicate already exists.

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

In trunk : Total and Subtotal(Order Lines) is not calculate properly If the tax is included in price.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
status: Incomplete → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/pso-dev-addons3.
Rev-id: <email address hidden>
Rev-no: 4611

It will be merged soon with Addons3 branch.

Thanks for reporting.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: none → 6.0-rc2
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.