Merge lp:~openerp-dev/openobject-addons/6.0-opw-581144-ksa into lp:openobject-addons/6.0

Proposed by Kirti Savalia(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-581144-ksa
Merge into: lp:openobject-addons/6.0
Diff against target: 30 lines (+3/-3)
1 file modified
account/account_cash_statement.py (+3/-3)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-581144-ksa
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+130989@code.launchpad.net

Description of the change

Hello,

Listing of currency notes/coins that is incomplete.

Thanks
KSA

To post a comment you must log in.

Unmerged revisions

5361. By Kirti Savalia(OpenERP) <email address hidden>

[FIX]:currency notes/coins that is incomplete and not very well designed

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_cash_statement.py'
2--- account/account_cash_statement.py 2011-03-03 08:39:43 +0000
3+++ account/account_cash_statement.py 2012-10-23 12:37:25 +0000
4@@ -163,7 +163,7 @@
5
6 def _get_cash_open_box_lines(self, cr, uid, context=None):
7 res = []
8- curr = [1, 2, 5, 10, 20, 50, 100, 500]
9+ curr = [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]
10 for rs in curr:
11 dct = {
12 'pieces': rs,
13@@ -183,7 +183,7 @@
14
15 def _get_default_cash_close_box_lines(self, cr, uid, context=None):
16 res = []
17- curr = [1, 2, 5, 10, 20, 50, 100, 500]
18+ curr = [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]
19 for rs in curr:
20 dct = {
21 'pieces': rs,
22@@ -194,7 +194,7 @@
23
24 def _get_cash_close_box_lines(self, cr, uid, context=None):
25 res = []
26- curr = [1, 2, 5, 10, 20, 50, 100, 500]
27+ curr = [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]
28 for rs in curr:
29 dct = {
30 'pieces': rs,