account/point_of_sale: missing cents and 200 €

Bug #1068611 reported by Niels Huylebroeck
2
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/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).

Tags: maintenance

Related branches

Revision history for this message
Niels Huylebroeck (red15) wrote :

I've separated the trunk problem here : #1068618

tags: added: maintenance
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

On trunk I have seen the 200€ on cash box, but the 2000 and 5000 are missing.

2000 are using on Belgium and Luxembourg and 5000 are using on Austria.

Thanks

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Niels Huylebroeck (red15) wrote : 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

Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello,

This issue has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-581144-ksa
Revision-id: <email address hidden>
Rev-no: 5361

It will be soon merged in the stable branch.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.