From 4c7f5cde587ff2a40b95467b4f054ca2add5b423 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sat, 16 Sep 2017 16:41:50 +0200 Subject: [PATCH] [IMP] account_financial_report_qweb: Don't require date range If you fill it, good because date from and date to are auto-fill, but if not, don't require it as the required data are the other 2 fields. --- account_financial_report_qweb/__manifest__.py | 2 +- account_financial_report_qweb/wizard/general_ledger_wizard.py | 1 - account_financial_report_qweb/wizard/trial_balance_wizard.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/account_financial_report_qweb/__manifest__.py b/account_financial_report_qweb/__manifest__.py index 789dd958..25e2b2fd 100644 --- a/account_financial_report_qweb/__manifest__.py +++ b/account_financial_report_qweb/__manifest__.py @@ -5,7 +5,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'QWeb Financial Reports', - 'version': '10.0.1.0.1', + 'version': '10.0.1.1.0', 'category': 'Reporting', 'summary': 'OCA Financial Reports', 'author': 'Camptocamp SA,' diff --git a/account_financial_report_qweb/wizard/general_ledger_wizard.py b/account_financial_report_qweb/wizard/general_ledger_wizard.py index 74643375..95796593 100644 --- a/account_financial_report_qweb/wizard/general_ledger_wizard.py +++ b/account_financial_report_qweb/wizard/general_ledger_wizard.py @@ -20,7 +20,6 @@ class GeneralLedgerReportWizard(models.TransientModel): ) date_range_id = fields.Many2one( comodel_name='date.range', - required=True, string='Date range' ) date_from = fields.Date(required=True) diff --git a/account_financial_report_qweb/wizard/trial_balance_wizard.py b/account_financial_report_qweb/wizard/trial_balance_wizard.py index 343b2a04..0b815a57 100644 --- a/account_financial_report_qweb/wizard/trial_balance_wizard.py +++ b/account_financial_report_qweb/wizard/trial_balance_wizard.py @@ -19,7 +19,6 @@ class TrialBalanceReportWizard(models.TransientModel): ) date_range_id = fields.Many2one( comodel_name='date.range', - required=True, string='Date range' ) date_from = fields.Date(required=True)