← Back to team overview

openerp-india team mailing list archive

[Bug 1067226] Re: POS taxes on products

 

Hello Fekete Mihai,

As per latest trunk on runbot [trunk_1196] this error is no more. so I m
releasing this bug.

Thank you!!

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

-- 
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):
  Fix Released

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


References