account/point_of_sale: missing cents and 200 €
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP R&D Addons Team 3 | ||
6.0 |
Fix Committed
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
In the account/
The function naming is inconsistent and there is even a function that is not linked anywhere: _get_cash_
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://
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).
Related branches
- Naresh(OpenERP): Pending requested
-
Diff: 30 lines (+3/-3)1 file modifiedaccount/account_cash_statement.py (+3/-3)
tags: | added: maintenance |
I've separated the trunk problem here : #1068618