[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
This commit is contained in:
parent
6c4bfe6215
commit
757b00368d
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue