Skip to content

Commit

Permalink
[MIG] product_brand_stock: Migrate to 15.0 from 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VEscaname committed Feb 13, 2024
1 parent e2bd5c0 commit af736a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions product_brand_stock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
2 changes: 1 addition & 1 deletion product_brand_stock/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit af736a8

Please sign in to comment.