Skip to content

Commit

Permalink
[MIG] product_brand_stock: Migration to 15.0 from 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VEscaname committed Feb 9, 2024
1 parent bd49019 commit d12bc91
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 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
2 changes: 1 addition & 1 deletion product_brand_stock/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-28 20:34+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
Expand Down
1 change: 1 addition & 0 deletions setup/product_brand_stock/odoo/addons/product_brand_stock
6 changes: 6 additions & 0 deletions setup/product_brand_stock/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit d12bc91

Please sign in to comment.