← Back to team overview

openerp-india team mailing list archive

Re: [Bug 1068611] Re: account/point_of_sale: missing cents and 200 €

 

Please see https://bugs.launchpad.net/openobject-addons/+bug/1068619 for a
more constructive approach for trunk/v7.

-- 
Niels Huylebroeck
Bubbles-IT
Tel. : +32 (0)9 328 33 88
Web : http://www.bubbles-it.be

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

Title:
  account/point_of_sale: missing cents and 200 €

Status in OpenERP Addons (modules):
  Confirmed
Status in OpenERP Addons 6.0 series:
  New

Bug description:
  In the account/account_cash_statement.py file there is a listing of
  currency notes/coins that is incomplete and also not very well
  designed.

  The function naming is inconsistent and there is even a function that
  is not linked anywhere: _get_cash_close_box_lines

  I was curious as to why the 200 note was missing from the currency
  until I looked at the wiki page of the Indian Rupee:
  http://en.wikipedia.org/wiki/Indian_rupee

  Seems in India they don't have "200" bills.

  To make it more general I suggest we replace the list with following :
  [0.01, 0.02, 0.05, 0.10, 0.20, 0.25, 0.50, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000]

  Not sure if I'm still missing some values ? The ones I can imagine are
  25 and 250 ? Anyone know a currency where they have bills of this
  value ?

  The ones I've added just to be on the safe side are 1000, 2000 and
  5000. The 1000 is in use in India but probably quite rare ?

  A discussion for the future should be held here. Possibly the best solution is to store on the res.currency which values you want to have.
  I've noticed in trunk this exact bug is "fixed" (aka the 200 is there) but I'm seeing for example there is no 0.25 in trunk (nor a 1000).

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


References