Browse Source

[FIX] flake8

pull/196/head
Damien Crier 8 years ago
committed by Leonardo Pistone
parent
commit
ab321580e6
  1. 18
      account_financial_report_qweb/wizard/balance_common_wizard.py
  2. 3
      account_financial_report_qweb/wizard/open_invoice_wizard.py

18
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',

3
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})
Loading…
Cancel
Save