← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

might be a duplicate already exists.

-- 
Wrong tax calculation in point of sale (POS)
https://bugs.launchpad.net/bugs/589256
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Incomplete

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.