From cb634117ccb50739d1b63f57dffc95abf77d77a4 Mon Sep 17 00:00:00 2001 From: jbeficent Date: Mon, 7 Nov 2016 13:41:42 +0100 Subject: [PATCH] add OCA style --- .../README.rst | 41 ++++++++++++++++++- .../__init__.py | 11 +++-- .../__openerp__.py | 34 ++++----------- .../models/__init__.py | 11 +++-- .../models/stock_warehouse_orderpoint.py | 11 +++-- .../tests/__init__.py | 11 +++-- .../tests/test_stock_warehouse_orderpoint.py | 11 +++-- 7 files changed, 84 insertions(+), 46 deletions(-) diff --git a/stock_warehouse_orderpoint_stock_info/README.rst b/stock_warehouse_orderpoint_stock_info/README.rst index 90bcd93a2..ce4a1c2e1 100644 --- a/stock_warehouse_orderpoint_stock_info/README.rst +++ b/stock_warehouse_orderpoint_stock_info/README.rst @@ -1,9 +1,30 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=========================== Reordering Rules stock info =========================== This modules allows to know the product availability directly in the reordering rules. +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/153/8.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of +trouble, please check there if your issue has already been reported. If you +spotted it first, help us smashing it by providing a detailed and welcomed +feedback. + Credits ======= @@ -12,4 +33,22 @@ Contributors ------------ * Oihane Crucelaegui * Pedro M. Baeza -* Ana Juaristi \ No newline at end of file +* Ana Juaristi +* Jordi Ballester Alomar +* Serpent Consulting Services Pvt. Ltd. + + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/stock_warehouse_orderpoint_stock_info/__init__.py b/stock_warehouse_orderpoint_stock_info/__init__.py index 054c8853d..c7f4154ff 100644 --- a/stock_warehouse_orderpoint_stock_info/__init__.py +++ b/stock_warehouse_orderpoint_stock_info/__init__.py @@ -1,6 +1,9 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 OdooMRP Team +# Copyright 2016 AvanzOSC +# Copyright 2016 Pedro M. Baeza +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/stock_warehouse_orderpoint_stock_info/__openerp__.py b/stock_warehouse_orderpoint_stock_info/__openerp__.py index 4816e0cc2..eaca605d7 100644 --- a/stock_warehouse_orderpoint_stock_info/__openerp__.py +++ b/stock_warehouse_orderpoint_stock_info/__openerp__.py @@ -1,20 +1,10 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# 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/. -# -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 OdooMRP Team +# Copyright 2016 AvanzOSC +# Copyright 2016 Pedro M. Baeza +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Reordering rules stock info", @@ -24,15 +14,9 @@ ], "author": "OdooMRP team," "AvanzOSC," - "Serv. Tecnol. Avanzados - Pedro M. Baeza", + "Tecnativa", "website": "http://www.odoomrp.com", - "contributors": [ - "Oihane Crucelaegui ", - "Pedro M. Baeza ", - "Ana Juaristi " - ], - "category": "Custom Module", - "summary": "", + "category": "Warehouse", "data": [ "views/stock_warehouse_orderpoint_view.xml", ], diff --git a/stock_warehouse_orderpoint_stock_info/models/__init__.py b/stock_warehouse_orderpoint_stock_info/models/__init__.py index 6c105e92e..c21daf9b7 100644 --- a/stock_warehouse_orderpoint_stock_info/models/__init__.py +++ b/stock_warehouse_orderpoint_stock_info/models/__init__.py @@ -1,6 +1,9 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 OdooMRP Team +# Copyright 2016 AvanzOSC +# Copyright 2016 Pedro M. Baeza +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import stock_warehouse_orderpoint diff --git a/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py b/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py index fed845c0c..c2afd30c2 100644 --- a/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py +++ b/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py @@ -1,7 +1,10 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 OdooMRP Team +# Copyright 2016 AvanzOSC +# Copyright 2016 Pedro M. Baeza +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp import models, fields, api diff --git a/stock_warehouse_orderpoint_stock_info/tests/__init__.py b/stock_warehouse_orderpoint_stock_info/tests/__init__.py index 2ace5d84d..a9f167c7a 100644 --- a/stock_warehouse_orderpoint_stock_info/tests/__init__.py +++ b/stock_warehouse_orderpoint_stock_info/tests/__init__.py @@ -1,6 +1,9 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 OdooMRP Team +# Copyright 2016 AvanzOSC +# Copyright 2016 Pedro M. Baeza +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_stock_warehouse_orderpoint diff --git a/stock_warehouse_orderpoint_stock_info/tests/test_stock_warehouse_orderpoint.py b/stock_warehouse_orderpoint_stock_info/tests/test_stock_warehouse_orderpoint.py index de483d221..44d82f0cf 100644 --- a/stock_warehouse_orderpoint_stock_info/tests/test_stock_warehouse_orderpoint.py +++ b/stock_warehouse_orderpoint_stock_info/tests/test_stock_warehouse_orderpoint.py @@ -1,7 +1,10 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# -*- coding: utf-8 -*- +# Copyright 2016 OdooMRP Team +# Copyright 2016 AvanzOSC +# Copyright 2016 Pedro M. Baeza +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp.tests import common