← Back to team overview

openerp-india team mailing list archive

[Bug 1246655] Re: POS backend total amount calculation error

 

Hello,

This need to be working fine when product price decimal accuracy will be
3 digit because when you applied the 10% discount with price 1.95 it
will be 1.755 and it will be converted into 1.76 due to digits(16,2). we
can make same as sale order on pos too i.e digits_compute=
dp.get_precision('Product Price') on unit price and when users sets the
decimal accuracy based on his requirement then it will resolve this
issue.

Thank you!

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

** Summary changed:

- POS backend total amount calculation error
+ Use digits_compute= dp.get_precision('Product Price') on unit price field on pos order line

-- 
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/1246655

Title:
  Use digits_compute= dp.get_precision('Product Price') on unit price
  field on pos order line

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  In OpenERP 7 POS backend, when i try to create two orders in which in
  one i am ordering 4 quantity of the product as a single order line and
  in the second one in am ordering 4 quantity of the same product as 4
  order lines with quantity 1. But the total amount to pay for two
  orders are different. Step to reproduce this bug:

  1 - I am having a product "USB Adapter" with unit price as 1.95.
  2 - Create a POS order from backend with single order line for the product "USB Adapter" with a discount of 10%.
  3 - Create another POS order form backend with 4 individual order line of quantity 1 and discount 10% for the product "USB Adapter"

  The total i am getting is 7.02 for the order with single order line
  and 7.04 for the order with 4 order lines.

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


References