From e71bd619ec9bebf983df925970b9998b48c3c741 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 2 Sep 2010 14:29:02 +0200 Subject: [PATCH] fix bzr revid: fp@tinyerp.com-20100902122902-g0tlfpbk954atut2 --- addons/account/account.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index dbe441e93f4..1276f2b640f 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -1151,13 +1151,6 @@ class account_move(osv.osv): return True def button_validate(self, cursor, user, ids, context=None): - def _get_chart_account(cursor, user, account): - if account.parent_id: - chart_account = _get_chart_account(cursor, user, account.parent_id) - else: - chart_account = account - return chart_account - for move in self.browse(cursor, user, ids): top = None for line in move.line_id: