[IMP]:account:improved code

bzr revid: apa@tinyerp.com-20101222123118-6gmax2w47maq1ues
This commit is contained in:
apa (OpenERP) 2010-12-22 18:01:18 +05:30
parent 35a69fa9a2
commit f4ce9b55ad
2 changed files with 3 additions and 2 deletions

View File

@ -131,9 +131,10 @@ module named account_voucher.
'test/account_validate_account_move.yml',
'test/account_fiscalyear_close.yml',
'test/account_bank_statement.yml',
'test/account_cash_statement.yml',
'test/account_report.yml',
'project/test/project_report.yml',
'test/account_cash_statement.yml',
],
'installable': True,
'active': False,

View File

@ -48,7 +48,7 @@
!python {model: account.analytic.account}: |
import netsvc, tools, os, time
ctx={}
ctx.update({'model': 'account.analytic.account','active_ids': []})
ctx.update({'model': 'account.analytic.account','active_ids': [ref('account.analytic_root')]})
data_dict = {}
from tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_analytic_invert_balance',wiz_data=data_dict, context=ctx, our_module='account')