[IMP] account_payment_blocking headers consistency, better description, better imports

This commit is contained in:
Stéphane Bidoul
2014-10-06 18:57:50 +02:00
committed by Adrien Peiffer (ACSONE)
parent 6a78c9d72d
commit 966e0c1cdd
6 changed files with 35 additions and 50 deletions

View File

@@ -20,5 +20,5 @@
#
##############################################################################
import model
import tests
from . import model
from . import tests

View File

@@ -1,10 +1,10 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (C) ACSONE SA/NV (<http://acsone.eu>)
#
# All other contributions are (C) by their respective contributors
#
# All Rights Reserved
# Account Payment Blocking module for OpenERP
# Copyright (C) 2014 ACSONE SA/NV (http://acsone.eu)
# @author Stéphane Bidoul <stephane.bidoul@acsone.eu>
# @author Adrien Peiffer <adrien.peiffer@acsone.eu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -25,16 +25,22 @@
'version': '0.1',
'category': 'Banking addons',
'description': """
Prevent invoices under litigation to be proposed in payment orders
Prevent invoices under litigation to be proposed in payment orders.
This module uses the 'blocked' flag that is present on move lines,
to filter out lines proposed in payment orders.
In addition it exposes this flag on the supplier invoice form
so it is easier to block an invoice.
""",
'author': 'Stéphane Bidoul',
'author': 'ACSONE SA/NV',
'website': 'http://acsone.eu',
'depends': [
'base',
'account_banking_payment_export'
],
'data': [
'view/account_invoice_view.xml'
'view/account_invoice_view.xml'
],
'test': [
],

View File

@@ -20,5 +20,5 @@
#
##############################################################################
import payment_order_create
from . import payment_order_create
from . import account_invoice

View File

@@ -1,16 +1,9 @@
# -*- coding: utf-8 -*-
# -*- encoding: utf-8 -*-
##############################################################################
#
#
# Authors: Adrien Peiffer
# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu)
# All Rights Reserved
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs.
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contact a Free Software
# Service Company.
# Account Payment Blocking module for OpenERP
# Copyright (C) 2014 ACSONE SA/NV (http://acsone.eu)
# @author Adrien Peiffer <adrien.peiffer@acsone.eu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -25,7 +18,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
##############################################################################
from openerp.osv import orm, fields

View File

@@ -1,16 +1,9 @@
# -*- coding: utf-8 -*-
# -*- encoding: utf-8 -*-
##############################################################################
#
#
# Authors: Adrien Peiffer
# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu)
# All Rights Reserved
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs.
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contact a Free Software
# Service Company.
# Account Payment Blocking module for OpenERP
# Copyright (C) 2014 ACSONE SA/NV (http://acsone.eu)
# @author Adrien Peiffer <adrien.peiffer@acsone.eu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -25,7 +18,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
##############################################################################
from . import test_account_banking_payment_blocking

View File

@@ -1,16 +1,9 @@
# -*- coding: utf-8 -*-
# -*- encoding: utf-8 -*-
##############################################################################
#
#
# Authors: Adrien Peiffer
# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu)
# All Rights Reserved
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs.
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contact a Free Software
# Service Company.
# Account Payment Blocking module for OpenERP
# Copyright (C) 2014 ACSONE SA/NV (http://acsone.eu)
# @author Adrien Peiffer <adrien.peiffer@acsone.eu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -25,7 +18,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
##############################################################################
import openerp.tests.common as common
from openerp import netsvc