← Back to team overview

openerp-india team mailing list archive

[Bug 1099404] Re: [PoS frontend] when you receive payment, entering a number with a comma => the floats after the comma are ignored

 

We should be careful about this, commas are used to separate thousands in US and UK  :
1,000,000.000 = 1000000

I think such behaviour should be based on the user's locale.
Standardising on the dot seems a safer bet in the mean time.

I tried on other fields in openerp and their behaviour look broken as
well : try 18,00 in a price field -> it is converted to 1800.00 wtf ?

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

Title:
  [PoS frontend] when you receive payment, entering a number with a
  comma => the floats after the comma are ignored

Status in OpenERP Addons (modules):
  New

Bug description:
  1. go to point of sale and open a session
  2. select some products
  3. select a journal (cash or bank)
  4. enter an amount but use a comma instead of a dot ( , ) 

  the numbers after the comma are completely ignored.

  I suggest automatically converting a comma into a dot or make it so
  that commas can be used

  video:
  https://docs.google.com/file/d/0B7c_6dPUa6bcTWtsRkM5NFpDSjA/edit

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


References