bzr revid: fp@tinyerp.com-20100902122902-g0tlfpbk954atut2
This commit is contained in:
Fabien Pinckaers 2010-09-02 14:29:02 +02:00
parent 509d472e40
commit e71bd619ec
1 changed files with 0 additions and 7 deletions

View File

@ -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: