[REF]
authorvra <vra@tinyerp.com>
Tue, 28 Sep 2010 11:22:04 +0000 (16:52 +0530)
committervra <vra@tinyerp.com>
Tue, 28 Sep 2010 11:22:04 +0000 (16:52 +0530)
bzr revid: vra@tinyerp.com-20100928112204-1het20j3mqbs7t3t

addons/account/account_cash_statement.py

index 5fe3a03..4b9d188 100644 (file)
@@ -192,6 +192,17 @@ class account_cash_statement(osv.osv):
             res.append(dct)
         return res
 
+    def _get_cash_close_box_lines(self, cr, uid, context={}):
+        res = []
+        curr = [1, 2, 5, 10, 20, 50, 100, 500]
+        for rs in curr:
+            dct = {
+                'pieces':rs,
+                'number':0
+            }
+            res.append((0,0,dct))
+        return res
+
     def _get_cash_open_close_box_lines(self, cr, uid, context={}):
         res = {}
         start_l = []