From e43440b85ae98dabc7e76c68910dcbcd705483a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 7 Jun 2015 14:14:18 +0200 Subject: [PATCH 1/3] [FIX] afr_webkit: remove deprecated fields, should greenify runbot --- .../wizard/general_ledger_wizard_view.xml | 1 - .../wizard/partner_balance_wizard_view.xml | 1 - .../wizard/partners_ledger_wizard_view.xml | 1 - account_financial_report_webkit/wizard/print_journal_view.xml | 1 - .../wizard/trial_balance_wizard_view.xml | 1 - 5 files changed, 5 deletions(-) diff --git a/account_financial_report_webkit/wizard/general_ledger_wizard_view.xml b/account_financial_report_webkit/wizard/general_ledger_wizard_view.xml index c0083163..982de98c 100644 --- a/account_financial_report_webkit/wizard/general_ledger_wizard_view.xml +++ b/account_financial_report_webkit/wizard/general_ledger_wizard_view.xml @@ -76,7 +76,6 @@ - General Ledger client_print_multi - Partner Balance client_print_multi - Partner Ledger client_print_multi - Journals client_print_multi - Trial Balance client_print_multi Date: Sun, 7 Jun 2015 14:33:19 +0200 Subject: [PATCH 2/3] [FIX] afr_webkit: fix wrong group assignment --- account_financial_report_webkit/report_menus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report_webkit/report_menus.xml b/account_financial_report_webkit/report_menus.xml index c287bd38..22251ba6 100644 --- a/account_financial_report_webkit/report_menus.xml +++ b/account_financial_report_webkit/report_menus.xml @@ -35,7 +35,7 @@ "Journals" menu --> - base.group_no_one + From ae2b62f0eee2549aa959e0b2d0e4410f9d945249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 7 Jun 2015 14:53:23 +0200 Subject: [PATCH 3/3] [FIX] afr_webkit: fix aged partner balance test fixes #67 Even if period_from is not visible in the wizard it is still necessary for the validation check to pass. --- .../tests/aged_trial_balance.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/account_financial_report_webkit/tests/aged_trial_balance.yml b/account_financial_report_webkit/tests/aged_trial_balance.yml index 4caf4e85..ea96f0e0 100644 --- a/account_financial_report_webkit/tests/aged_trial_balance.yml +++ b/account_financial_report_webkit/tests/aged_trial_balance.yml @@ -6,6 +6,7 @@ ctx={} data_dict = {'chart_account_id':ref('account.chart0'), 'until_date': '%s-12-31' %(datetime.now().year), 'fiscalyear_id': ref('account.data_fiscalyear'), + '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') @@ -19,6 +20,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', + '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') @@ -33,6 +35,7 @@ 'until_date': '%s-12-31' %(datetime.now().year), 'target_move': 'posted', 'amount_currency': True, 'result_selection': 'customer_supplier', 'partner_ids': [ref('base.res_partner_2'), ref('base.res_partner_1')], + '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') @@ -46,6 +49,8 @@ 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_to': ref('account.period_12')} + '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')