From a03d8dcc84102ead06e0cec27b66e4631448cad7 Mon Sep 17 00:00:00 2001 From: Thomas Rehn Date: Wed, 27 Apr 2016 19:01:02 +0200 Subject: [PATCH] [FIX] activate date_range and fix installation errors --- account_financial_report_qweb/__openerp__.py | 5 +++-- .../wizard/balance_common_wizard.py | 16 ++++++++-------- .../wizard/balance_common_wizard_view.xml | 4 ++-- .../wizard/balance_sheet_wizard_view.xml | 10 ++++++---- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/account_financial_report_qweb/__openerp__.py b/account_financial_report_qweb/__openerp__.py index 6a6eceea..fc7bc309 100644 --- a/account_financial_report_qweb/__openerp__.py +++ b/account_financial_report_qweb/__openerp__.py @@ -21,12 +21,13 @@ 'wizard/aged_partner_balance_wizard_view.xml', 'wizard/general_ledger_wizard.xml', 'wizard/open_invoice_wizard_view.xml', - 'report_menus.xml', + 'wizard/partner_ledger_wizard.xml', + 'wizard/partner_balance_wizard_view.xml', 'wizard/balance_common_wizard_view.xml', 'wizard/partner_balance_wizard_view.xml', 'wizard/trial_balance_wizard_view.xml', 'wizard/balance_sheet_wizard_view.xml', - #'wizard/profit_loss_wizard_view.xml', + # 'wizard/profit_loss_wizard_view.xml', 'views/report_menus.xml', 'menuitems.xml', 'reports.xml', diff --git a/account_financial_report_qweb/wizard/balance_common_wizard.py b/account_financial_report_qweb/wizard/balance_common_wizard.py index a52e0a24..710c7ac3 100644 --- a/account_financial_report_qweb/wizard/balance_common_wizard.py +++ b/account_financial_report_qweb/wizard/balance_common_wizard.py @@ -29,14 +29,14 @@ class AccountBalanceCommonWizard(models.TransientModel): print all accounts.", default=_get_account_ids ) - # date_range = fields.Many2one( - # comodel_name='date.range', - # string='Date Range', - # ) - # comparison_date_range = fields.Many2one( - # comodel_name='date.range', - # string='Date Range', - # ) + date_range_id = fields.Many2one( + comodel_name='date.range', + string='Date Range', + ) + comparison_date_range_id = fields.Many2one( + comodel_name='date.range', + string='Date Range', + ) comparison_date_start = fields.Datetime( string='Start Date' ) diff --git a/account_financial_report_qweb/wizard/balance_common_wizard_view.xml b/account_financial_report_qweb/wizard/balance_common_wizard_view.xml index 7794524c..af870dfb 100644 --- a/account_financial_report_qweb/wizard/balance_common_wizard_view.xml +++ b/account_financial_report_qweb/wizard/balance_common_wizard_view.xml @@ -15,7 +15,7 @@ - + @@ -41,7 +41,7 @@ - + diff --git a/account_financial_report_qweb/wizard/balance_sheet_wizard_view.xml b/account_financial_report_qweb/wizard/balance_sheet_wizard_view.xml index 5de6ad11..393a97bd 100644 --- a/account_financial_report_qweb/wizard/balance_sheet_wizard_view.xml +++ b/account_financial_report_qweb/wizard/balance_sheet_wizard_view.xml @@ -3,7 +3,7 @@ - Trial Balance Wizard + Balance Sheet Wizard account.common.balance.report primary @@ -12,9 +12,11 @@ True + - - + + @@ -24,7 +26,7 @@ - + Balance Sheet ir.actions.act_window account.common.balance.report form