From 757b00368da72429c706d3782f0166a84ef2a199 Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Fri, 2 Sep 2011 12:31:42 +0530 Subject: [PATCH] [IMP]: account: l10n fullness and inheritancy : Created comment(TODO check) for Dynamically create user_type on code and removed TODO code from tax generate bzr revid: ron@tinyerp.com-20110902070142-jaa3lc6qew0nhl4u --- addons/account/account.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 5eb2fa3dba8..d0aded91b66 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -3015,6 +3015,7 @@ class wizard_multi_charts_accounts(osv.osv_memory): break else: current_num += 1 + #TODO: create proper user_type for account creation. user_type = self.pool.get('account.account.type').search(cr, uid, [('name', '=', line['account_type'])], context=context) vals = { 'name': line['acc_name'], @@ -3134,7 +3135,7 @@ class wizard_multi_charts_accounts(osv.osv_memory): }, context=context) - # create all the tax code [TOCHECK: finds children of tax_code_root_id and processes] + # create all the tax code. tax_code_template_ref = {} tax_code_root_id = template.tax_code_root_id.id children_tax_code_template = obj_tax_code_template.search(cr, uid, [('parent_id','child_of',[tax_code_root_id])], order='id')