Browse Source

[FIX] flake8

pull/367/head
Damien Crier 9 years ago
committed by Jordi Ballester
parent
commit
5e87baaca8
  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( account_ids = fields.Many2many(
comodel_name='account.account', comodel_name='account.account',
string='Filter on accounts', 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 default=_get_account_ids
) )
date_range_id = fields.Many2one( 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( 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( comparison_date_start = fields.Datetime(
string='Start Date' string='Start Date'
@ -46,8 +46,8 @@ class AccountBalanceCommonWizard(models.TransientModel):
partner_ids = fields.Many2many( partner_ids = fields.Many2many(
comodel_name='res.partner', comodel_name='res.partner',
string='Filter on 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( debit_credit = fields.Boolean(
string='Display Debit/Credit Columns', string='Display Debit/Credit Columns',

3
account_financial_report_qweb/wizard/open_invoice_wizard.py

@ -5,7 +5,7 @@
# Copyright 2016 Camptocamp SA # Copyright 2016 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # 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 openerp.exceptions import Warning as UserError
from datetime import datetime from datetime import datetime
@ -120,4 +120,3 @@ class OpenInvoiceWizard(models.TransientModel):
return self.env['report'].get_action( return self.env['report'].get_action(
self, 'account_financial_report_qweb.open_invoice_report_qweb', self, 'account_financial_report_qweb.open_invoice_report_qweb',
data={'data': datas}) data={'data': datas})
Loading…
Cancel
Save