From 76c476a57d923084325bb413fba414cef6041790 Mon Sep 17 00:00:00 2001 From: vra Date: Tue, 28 Sep 2010 16:52:04 +0530 Subject: [PATCH] [REF] bzr revid: vra@tinyerp.com-20100928112204-1het20j3mqbs7t3t --- addons/account/account_cash_statement.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/addons/account/account_cash_statement.py b/addons/account/account_cash_statement.py index 5fe3a0345b2..4b9d188b3ad 100644 --- a/addons/account/account_cash_statement.py +++ b/addons/account/account_cash_statement.py @@ -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 = []