mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] PEP8 length 80 -> 79
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user