diff --git a/account_financial_report_qweb/wizard/general_ledger_wizard.xml b/account_financial_report_qweb/wizard/general_ledger_wizard.xml index bd739808..b87159bc 100644 --- a/account_financial_report_qweb/wizard/general_ledger_wizard.xml +++ b/account_financial_report_qweb/wizard/general_ledger_wizard.xml @@ -41,7 +41,7 @@ - General Ledger Line + General Ledger Line tree ledger.report.wizard.line tree @@ -59,6 +59,30 @@ + + General Ledger Line search + ledger.report.wizard.line + + + + + + + + + + General Ledger ir.actions.act_window diff --git a/account_financial_report_qweb/wizard/ledger_report_wizard.py b/account_financial_report_qweb/wizard/ledger_report_wizard.py index 5c2b507d..09ecde9f 100644 --- a/account_financial_report_qweb/wizard/ledger_report_wizard.py +++ b/account_financial_report_qweb/wizard/ledger_report_wizard.py @@ -143,7 +143,10 @@ class LedgerReportWizard(models.TransientModel): 'view_mode': 'tree', 'res_model': 'ledger.report.wizard.line', 'view_id': False, - 'context': {'group_by': ['account_id', 'date:month']}, + 'context': { + 'search_default_group_by_account_id': True, + 'search_default_group_by_date': True, + }, 'type': 'ir.actions.act_window' }