diff --git a/product_brand_stock/__init__.py b/product_brand_stock/__init__.py index 6c22a71e0..c9d607f59 100644 --- a/product_brand_stock/__init__.py +++ b/product_brand_stock/__init__.py @@ -13,9 +13,9 @@ def pre_init_hook(cr): "stock_quant", ) for to_init_table in to_init_tables: - query_alter = sql.SQL("ALTER TABLE {} ADD COLUMN IF NOT EXISTS product_brand_id integer").format( - sql.Identifier(to_init_table) - ) + query_alter = sql.SQL( + "ALTER TABLE {} ADD COLUMN IF NOT EXISTS product_brand_id integer" + ).format(sql.Identifier(to_init_table)) query_update = sql.SQL( "UPDATE {} x SET product_brand_id=t.product_brand_id " "FROM product_product p " diff --git a/product_brand_stock/__manifest__.py b/product_brand_stock/__manifest__.py index 61f52aab5..bf1311c09 100644 --- a/product_brand_stock/__manifest__.py +++ b/product_brand_stock/__manifest__.py @@ -5,7 +5,7 @@ "name": "Product Brand Stock", "summary": """ This module allows to work with product_brand in Stock.""", - "version": "16.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "Odoo Community Association (OCA)", "website": "https://github.com/OCA/brand",