Skip to content

Commit

Permalink
[IMP] product_brand_stock: black, isort, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
VEscaname committed Feb 9, 2024
1 parent b7e1849 commit bd49019
Showing 1 changed file with 3 additions and 3 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

0 comments on commit bd49019

Please sign in to comment.