← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

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

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

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

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.