← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

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.


** Attachment added: "sale_order.png"
   https://bugs.launchpad.net/openobject-addons/+bug/589256/+attachment/1720672/+files/sale_order.png

-- 
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.