diff --git a/product_route_profile/__manifest__.py b/product_route_profile/__manifest__.py index bf8879707e56..7519aed60e56 100644 --- a/product_route_profile/__manifest__.py +++ b/product_route_profile/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Product Route Profile", "summary": "Add Route profile concept on product", - "version": "14.0.1.0.3", + "version": "15.0.1.0.0", "category": "Warehouse", "website": "https://github.com/OCA/stock-logistics-warehouse", "author": "Akretion, Odoo Community Association (OCA)", diff --git a/product_route_profile/models/route_profile.py b/product_route_profile/models/route_profile.py index a1e401525fd2..12df849b49b4 100644 --- a/product_route_profile/models/route_profile.py +++ b/product_route_profile/models/route_profile.py @@ -9,7 +9,7 @@ class RouteProfile(models.Model): _name = "route.profile" _description = "Route Profile" - name = fields.Char("Name") + name = fields.Char() company_id = fields.Many2one( comodel_name="res.company", default=lambda self: self.env.company.id, diff --git a/product_route_profile/tests/test_product_route_profile.py b/product_route_profile/tests/test_product_route_profile.py index a45ee6c2f5d0..2bc8217a4631 100644 --- a/product_route_profile/tests/test_product_route_profile.py +++ b/product_route_profile/tests/test_product_route_profile.py @@ -5,7 +5,7 @@ from odoo.tests.common import SavepointCase -class TestProductRouteProfile(SavepointCase): +class TestProductRouteProfile(TransactionCase): @classmethod def setUpClass(cls): super(TestProductRouteProfile, cls).setUpClass()