diff --git a/account_financial_report_qweb/wizard/balance_common_wizard.py b/account_financial_report_qweb/wizard/balance_common_wizard.py index 710c7ac3..2d82b80a 100644 --- a/account_financial_report_qweb/wizard/balance_common_wizard.py +++ b/account_financial_report_qweb/wizard/balance_common_wizard.py @@ -25,17 +25,17 @@ class AccountBalanceCommonWizard(models.TransientModel): account_ids = fields.Many2many( comodel_name='account.account', string='Filter on accounts', - help="Only selected accounts will be printed. Leave empty to \ - print all accounts.", + help="Only selected accounts will be printed. Leave empty to " + "print all accounts.", default=_get_account_ids ) date_range_id = fields.Many2one( - comodel_name='date.range', - string='Date Range', - ) + comodel_name='date.range', + string='Date Range', + ) comparison_date_range_id = fields.Many2one( - comodel_name='date.range', - string='Date Range', + comodel_name='date.range', + string='Date Range', ) comparison_date_start = fields.Datetime( string='Start Date' @@ -46,8 +46,8 @@ class AccountBalanceCommonWizard(models.TransientModel): partner_ids = fields.Many2many( comodel_name='res.partner', string='Filter on partner', - help="Only selected partners will be printed. \ - Leave empty to print all partners." + help="Only selected partners will be printed. " + "Leave empty to print all partners." ) debit_credit = fields.Boolean( string='Display Debit/Credit Columns', diff --git a/account_financial_report_qweb/wizard/open_invoice_wizard.py b/account_financial_report_qweb/wizard/open_invoice_wizard.py index 052778a4..bc42ef3e 100644 --- a/account_financial_report_qweb/wizard/open_invoice_wizard.py +++ b/account_financial_report_qweb/wizard/open_invoice_wizard.py @@ -5,7 +5,7 @@ # Copyright 2016 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields, api, _ +from openerp import models, fields, api from openerp.exceptions import Warning as UserError from datetime import datetime @@ -120,4 +120,3 @@ class OpenInvoiceWizard(models.TransientModel): return self.env['report'].get_action( self, 'account_financial_report_qweb.open_invoice_report_qweb', data={'data': datas}) -