From af07511006b679fcfb05af76ae0d6c4afb638da9 Mon Sep 17 00:00:00 2001
From: "qdp-launchpad@tinyerp.com" <>
Date: Mon, 28 Jun 2010 09:43:55 +0200
Subject: [PATCH] [IMP] account: common wizard view improved
bzr revid: qdp-launchpad@tinyerp.com-20100628074355-25hdkrtpaxcl9pke
---
.../account/wizard/account_common_report.xml | 71 ++++++-------------
.../wizard/account_report_general_ledger.py | 4 +-
.../account_report_general_ledger_view.xml | 18 ++++-
3 files changed, 39 insertions(+), 54 deletions(-)
diff --git a/addons/account/wizard/account_common_report.xml b/addons/account/wizard/account_common_report.xml
index d138c8ec2de..bc47381f564 100644
--- a/addons/account/wizard/account_common_report.xml
+++ b/addons/account/wizard/account_common_report.xml
@@ -8,59 +8,32 @@
diff --git a/addons/account/wizard/account_report_general_ledger.py b/addons/account/wizard/account_report_general_ledger.py
index f63bbe4dac4..04d6714dab6 100644
--- a/addons/account/wizard/account_report_general_ledger.py
+++ b/addons/account/wizard/account_report_general_ledger.py
@@ -30,11 +30,11 @@ class account_report_general_ledger(osv.osv_memory):
_description = "General Ledger Report"
_columns = {
- 'display_account': fields.selection([('bal_mouvement','With movements'), ('bal_all','All'), ('bal_solde','With balance is not equal to 0')],"Display accounts"),
+ 'display_account': fields.selection([('bal_mouvement','With movements'), ('bal_all','All'), ('bal_solde','With balance is not equal to 0')],"Display accounts", required=True),
'landscape': fields.boolean("Landscape Mode"),
'soldeinit': fields.boolean("Include initial balances"),
'amount_currency': fields.boolean("With Currency"),
- 'sortby': fields.selection([('sort_date', 'Date'), ('sort_journal_partner', 'Journal & Partner')], 'Sort By'),
+ 'sortby': fields.selection([('sort_date', 'Date'), ('sort_journal_partner', 'Journal & Partner')], 'Sort By', required=True),
}
_defaults = {
diff --git a/addons/account/wizard/account_report_general_ledger_view.xml b/addons/account/wizard/account_report_general_ledger_view.xml
index f4f27f350f6..b6f3a32dd67 100644
--- a/addons/account/wizard/account_report_general_ledger_view.xml
+++ b/addons/account/wizard/account_report_general_ledger_view.xml
@@ -2,18 +2,30 @@
+
+
General Ledger
account.report.general.ledger
form
-
+
-
-
+
+