← Back to team overview

openerp-india team mailing list archive

[Bug 1067226] [NEW] POS taxes on products

 

Public bug reported:

Taxes associated to product is not calculated on POS product price.

Create a new database.
Assign a sale tax on a product
Open a session in pos.ui
Add the product on order
Pay the order
Close session

Now go to POS/Orders and there you can see the amount of the order we did from ui is diferent with the amount of the order created
The order created from ui has the taxes associated on product...so the total amount is bigger with the tax amount...so the order is not fully paid....

I think the sollution is to change

this.price   = options.product.get('list_price');

from models.js line 336 to get the price with tax included...and
refurbished the discount function to apply at this price considering the
tax associated with product.

We are testing on Openerp trunk and on runbot it's gathering the same
result...

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1067226

Title:
  POS taxes on products

Status in OpenERP Addons (modules):
  New

Bug description:
  Taxes associated to product is not calculated on POS product price.

  Create a new database.
  Assign a sale tax on a product
  Open a session in pos.ui
  Add the product on order
  Pay the order
  Close session

  Now go to POS/Orders and there you can see the amount of the order we did from ui is diferent with the amount of the order created
  The order created from ui has the taxes associated on product...so the total amount is bigger with the tax amount...so the order is not fully paid....

  I think the sollution is to change

  this.price   = options.product.get('list_price');

  from models.js line 336 to get the price with tax included...and
  refurbished the discount function to apply at this price considering
  the tax associated with product.

  We are testing on Openerp trunk and on runbot it's gathering the same
  result...

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1067226/+subscriptions


Follow ups

References