From 6b9220feb617d54e6686adf3d4796b9afbbc7eb9 Mon Sep 17 00:00:00 2001 From: jcoux Date: Wed, 10 Aug 2016 10:41:45 +0200 Subject: [PATCH] Delete the useless False default values for boolean fields --- account_financial_report_qweb/models/account.py | 1 - account_financial_report_qweb/wizard/general_ledger_wizard.py | 4 ++-- account_financial_report_qweb/wizard/open_items_wizard.py | 4 ++-- account_financial_report_qweb/wizard/trial_balance_wizard.py | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/account_financial_report_qweb/models/account.py b/account_financial_report_qweb/models/account.py index 27ab9463..65af2995 100644 --- a/account_financial_report_qweb/models/account.py +++ b/account_financial_report_qweb/models/account.py @@ -9,7 +9,6 @@ class AccountAccount(models.Model): centralized = fields.Boolean( 'Centralized', - default=False, help="If flagged, no details will be displayed in " "the General Ledger report (the webkit one only), " "only centralized amounts per period.") diff --git a/account_financial_report_qweb/wizard/general_ledger_wizard.py b/account_financial_report_qweb/wizard/general_ledger_wizard.py index ac9c4e4b..6dec0e2b 100644 --- a/account_financial_report_qweb/wizard/general_ledger_wizard.py +++ b/account_financial_report_qweb/wizard/general_ledger_wizard.py @@ -42,8 +42,8 @@ class GeneralLedgerReportWizard(models.TransientModel): help='Use this filter to hide an account or a partner ' 'with an ending balance at 0. ' 'If partners are filtered, ' - 'debits and credits totals will not match the trial balance.', - default=False) + 'debits and credits totals will not match the trial balance.' + ) receivable_accounts_only = fields.Boolean() payable_accounts_only = fields.Boolean() partner_ids = fields.Many2many( diff --git a/account_financial_report_qweb/wizard/open_items_wizard.py b/account_financial_report_qweb/wizard/open_items_wizard.py index 2d425433..e122f11d 100644 --- a/account_financial_report_qweb/wizard/open_items_wizard.py +++ b/account_financial_report_qweb/wizard/open_items_wizard.py @@ -35,8 +35,8 @@ class OpenItemsReportWizard(models.TransientModel): help='Use this filter to hide an account or a partner ' 'with an ending balance at 0. ' 'If partners are filtered, ' - 'debits and credits totals will not match the trial balance.', - default=False) + 'debits and credits totals will not match the trial balance.' + ) receivable_accounts_only = fields.Boolean() payable_accounts_only = fields.Boolean() partner_ids = fields.Many2many( diff --git a/account_financial_report_qweb/wizard/trial_balance_wizard.py b/account_financial_report_qweb/wizard/trial_balance_wizard.py index dca96f66..bd05233c 100644 --- a/account_financial_report_qweb/wizard/trial_balance_wizard.py +++ b/account_financial_report_qweb/wizard/trial_balance_wizard.py @@ -39,8 +39,8 @@ class TrialBalanceReportWizard(models.TransientModel): help='Use this filter to hide an account or a partner ' 'with an ending balance at 0. ' 'If partners are filtered, ' - 'debits and credits totals will not match the trial balance.', - default=False) + 'debits and credits totals will not match the trial balance.' + ) receivable_accounts_only = fields.Boolean() payable_accounts_only = fields.Boolean() show_partner_details = fields.Boolean()