From 8bacbd6083b68b19dcda3f71c9960e3254fb40a2 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Mon, 5 Jan 2015 10:03:23 +0100 Subject: [PATCH] Remove the dates and "period from" from the aged balance tests --- .../tests/aged_trial_balance.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/account_financial_report_webkit/tests/aged_trial_balance.yml b/account_financial_report_webkit/tests/aged_trial_balance.yml index d94cddab..1548d1f3 100644 --- a/account_financial_report_webkit/tests/aged_trial_balance.yml +++ b/account_financial_report_webkit/tests/aged_trial_balance.yml @@ -42,19 +42,6 @@ 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', - 'filter': 'filter_period', 'period_from': ref('account.period_1'), 'period_to': ref('account.period_12')} - from openerp.tools import test_reports - test_reports.try_report_action(cr, uid, 'action_account_aged_trial_balance_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit') - -- - In order to test the PDF Aged Partner Balance Report webkit wizard I will print report with filters on dates -- - !python {model: account.account}: | - from datetime import datetime - ctx={} - 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', - 'filter': 'filter_date', 'date_from': '%s-01-01' %(datetime.now().year), 'date_to': '%s-12-31' %(datetime.now().year)} + 'filter': 'filter_period', 'period_to': ref('account.period_12')} from openerp.tools import test_reports test_reports.try_report_action(cr, uid, 'action_account_aged_trial_balance_menu_webkit',wiz_data=data_dict, context=ctx, our_module='account_financial_report_webkit')