diff --git a/partner_products_shortcut/__init__.py b/partner_products_shortcut/__init__.py index cc7a74b..428c04a 100644 --- a/partner_products_shortcut/__init__.py +++ b/partner_products_shortcut/__init__.py @@ -1,24 +1,4 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Partner Products Shortcut module for OpenERP -# Copyright (C) 2014 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# 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 Affero 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 . -# -############################################################################## +# -*- coding: utf-8 -*- from . import product from . import partner diff --git a/partner_products_shortcut/__openerp__.py b/partner_products_shortcut/__openerp__.py index 2039feb..4871237 100644 --- a/partner_products_shortcut/__openerp__.py +++ b/partner_products_shortcut/__openerp__.py @@ -1,8 +1,8 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # -# Partner Products Shortcut module for OpenERP -# Copyright (C) 2014 Akretion (http://www.akretion.com) +# Partner Products Shortcut module for Odoo +# Copyright (C) 2014-2016 Akretion (http://www.akretion.com) # @author Alexis de Lattre # # This program is free software: you can redistribute it and/or modify @@ -33,13 +33,15 @@ Partner Products Shortcut Adds a shortcut on supplier partner form to the products supplied by this partner. -Please contact Alexis de Lattre from Akretion for any help or question about this module. +This module is an alternative to the module *partner_product_variants_shortcut* ; the only difference is that it displays the product view (product.template) instead of the product variants view (product.product). + +This module has been written by Alexis de Lattre from Akretion +. """, 'author': 'Akretion', 'website': 'http://www.akretion.com', 'depends': ['product'], - 'data': [ - 'partner_view.xml', - ], - 'active': False, + 'conflicts': ['partner_product_variants_shortcut'], + 'data': ['partner_view.xml'], + 'installable': True, } diff --git a/partner_products_shortcut/partner.py b/partner_products_shortcut/partner.py index 1ee42e6..b2ba92f 100644 --- a/partner_products_shortcut/partner.py +++ b/partner_products_shortcut/partner.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # Partner Products Shortcut module for Odoo diff --git a/partner_products_shortcut/product.py b/partner_products_shortcut/product.py index a78826c..92f0d05 100644 --- a/partner_products_shortcut/product.py +++ b/partner_products_shortcut/product.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # Partner Products Shortcut module for Odoo