diff --git a/product_category_recursive_property/__openerp__.py b/product_category_recursive_property/__openerp__.py index 29284e9..4e9d537 100644 --- a/product_category_recursive_property/__openerp__.py +++ b/product_category_recursive_property/__openerp__.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# coding: utf-8 # Copyright (C) 2013 - Today: GRAP (http://www.grap.coop) # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). @@ -15,7 +15,7 @@ 'stock_account', ], 'demo': [ - 'demo/res_users.xml', + 'demo/res_groups.xml', 'demo/product_category.xml', ], } diff --git a/product_category_recursive_property/demo/res_users.xml b/product_category_recursive_property/demo/res_groups.xml similarity index 51% rename from product_category_recursive_property/demo/res_users.xml rename to product_category_recursive_property/demo/res_groups.xml index 016a09e..87a8eea 100644 --- a/product_category_recursive_property/demo/res_users.xml +++ b/product_category_recursive_property/demo/res_groups.xml @@ -7,10 +7,12 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - - + + + + + + diff --git a/product_category_recursive_property/models/__init__.py b/product_category_recursive_property/models/__init__.py index ab171ea..1d8d301 100644 --- a/product_category_recursive_property/models/__init__.py +++ b/product_category_recursive_property/models/__init__.py @@ -1,2 +1,2 @@ -# -*- coding: utf-8 -*- +# coding: utf-8 from . import product_category diff --git a/product_category_recursive_property/models/product_category.py b/product_category_recursive_property/models/product_category.py index 5db0a34..9213034 100644 --- a/product_category_recursive_property/models/product_category.py +++ b/product_category_recursive_property/models/product_category.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# coding: utf-8 # Copyright (C) 2013 - Today: GRAP (http://www.grap.coop) # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/product_category_recursive_property/tests/__init__.py b/product_category_recursive_property/tests/__init__.py index a78faa8..17b8206 100644 --- a/product_category_recursive_property/tests/__init__.py +++ b/product_category_recursive_property/tests/__init__.py @@ -1,2 +1,2 @@ -# -*- coding: utf-8 -*- -from . import test_product_category_recursive_property +# coding: utf-8 +from . import test_module diff --git a/product_category_recursive_property/tests/test_product_category_recursive_property.py b/product_category_recursive_property/tests/test_module.py similarity index 95% rename from product_category_recursive_property/tests/test_product_category_recursive_property.py rename to product_category_recursive_property/tests/test_module.py index 81d9e00..734359e 100644 --- a/product_category_recursive_property/tests/test_product_category_recursive_property.py +++ b/product_category_recursive_property/tests/test_module.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# coding: utf-8 # Copyright (C) 2017 - Today: GRAP (http://www.grap.coop) # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). @@ -6,10 +6,10 @@ from openerp.tests.common import TransactionCase -class TestProductCategoryRecursiveProperty(TransactionCase): +class TestModule(TransactionCase): def setUp(self): - super(TestProductCategoryRecursiveProperty, self).setUp() + super(TestModule, self).setUp() self.category_obj = self.env['product.category'] self.property_obj = self.env['ir.property'] self.mother_category = self.env.ref(