← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 589256] Re: Wrong tax calculation in point of sale (POS)

 

Hello,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/pso-dev-addons3.
Rev-id: pso@xxxxxxxxxxx-20101215132959-qv0fbojg4nbtzohr
Rev-no: 4611

It will be merged soon with Addons3 branch.

Thanks for reporting.

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

Title:
  Wrong tax calculation in point of sale (POS)

Status in OpenObject Addons Modules:
  Fix Committed

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.