Fix references to demo data in tests

pull/7/merge
unknown 2014-03-13 11:49:47 +01:00 committed by Yannick Vaucher
commit 167bf476f0
3 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ an issue in wkhtmltopdf
the header and footer are created as text with arguments passed to
wkhtmltopdf. The texts are defined inside the report classes.
""",
'version': '1.0.1',
'version': '1.0.2',
'author': 'Camptocamp',
'license': 'AGPL-3',
'category': 'Finance',

View File

@ -29,7 +29,7 @@
data_dict = {'chart_account_id':ref('account.chart0'), 'fiscalyear_id': ref('account.data_fiscalyear'),
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'partner_ids': [ref('base.res_partner_agrolait'), ref('base.res_partner_asus')]}
'partner_ids': [ref('base.res_partner_2'), ref('base.res_partner_1')]}
from tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_open_invoices_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')

View File

@ -29,7 +29,7 @@
data_dict = {'chart_account_id':ref('account.chart0'), 'fiscalyear_id': ref('account.data_fiscalyear'),
'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted',
'amount_currency': True, 'result_selection': 'customer_supplier',
'partner_ids': [ref('base.res_partner_agrolait'), ref('base.res_partner_asus')]}
'partner_ids': [ref('base.res_partner_2'), ref('base.res_partner_1')]}
from tools import test_reports
test_reports.try_report_action(cr, uid, 'action_account_partners_ledger_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')