openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16767
[Bug 1068611] [NEW] account/point_of_sale: missing cents and 200 €
Public bug reported:
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).
** Affects: openobject-addons
Importance: Undecided
Status: New
** Affects: openobject-addons/6.0
Importance: Undecided
Status: New
** Also affects: openobject-addons/6.0
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/1068611
Title:
account/point_of_sale: missing cents and 200 €
Status in OpenERP Addons (modules):
New
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
Follow ups
References