[FIX] PEP8 length 80 -> 79

This commit is contained in:
Nicolas Bessi
2014-08-25 13:07:16 +02:00
parent 525d9db11c
commit 1be37b38c6
4 changed files with 16 additions and 9 deletions

View File

@@ -48,9 +48,12 @@ Usage
Menu entries are located in ``Accounting > Periodical Processing > Credit
Control``.
Create a new "run" in the ``Credit Control Run`` menu with the controlling date.
Then, use the ``Compute credit lines`` button. All the credit control lines will
be generated. You can find them in the ``Credit Control Lines`` menu.
Create a new "run" in the ``Credit Control Run`` menu
with the controlling date.
Then, use the ``Compute credit lines`` button.
All the credit control lines will be generated.
You can find them in the ``Credit Control Lines`` menu.
On each generated line, you have many choices:
* Send a email

View File

@@ -64,8 +64,10 @@ class credit_control_policy_changer(orm.TransientModel):
# raise ValueError('No active_ids passed in context')
for invoice in inv_model.browse(cr, uid, active_ids, context=context):
if invoice.type in ('in_invoice', 'in_refund', 'out_refund'):
raise orm.except_orm(_('User error'),
_('Please use wizard on cutomer invoices'))
raise orm.except_orm(
_('User error'),
_('Please use wizard on cutomer invoices')
)
domain = [('account_id', '=', invoice.account_id.id),
('move_id', '=', invoice.move_id.id),

View File

@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author Vincent Renaville/Joel Grand-Guillaume. Copyright 2012 Camptocamp SA
# Author Vincent Renaville/Joel Grand-Guillaume.
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as

View File

@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Author Vincent Renaville/Joel Grand-Guillaume. Copyright 2012 Camptocamp SA
# Author Vincent Renaville/Joel Grand-Guillaume.
# Copyright 2012 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -24,8 +25,8 @@
'license': 'AGPL-3',
"description": """
Re-defining a base wizard (validate all moves in a period for a journal),
but extending it to multiple periods and multiple journals. It replaces the
base one defined in addons/account/wizard.
but extending it to multiple periods and multiple journals.
It replaces the base one defined in addons/account/wizard.
""",
'website': 'http://www.camptocamp.com',
'data': ['wizard/account_validate_move_view.xml'],