Skip to content

Commit

Permalink
Merge PR OCA#1779 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Nov 22, 2024
2 parents 3521029 + c9eec75 commit e1e1022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions product_uom_measure_type/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def pre_init_hook(cr):
cr.execute(
"""
ALTER TABLE uom_category
ADD column measure_type character varying;
ADD column IF NOT EXISTS measure_type character varying;
"""
)

Expand Down Expand Up @@ -50,7 +50,7 @@ def pre_init_hook(cr):
cr.execute(
"""
ALTER TABLE uom_uom
ADD column measure_type character varying;
ADD column IF NOT EXISTS measure_type character varying;
"""
)

Expand All @@ -67,7 +67,7 @@ def pre_init_hook(cr):
cr.execute(
"""
ALTER TABLE product_template
ADD column uom_measure_type character varying;
ADD column IF NOT EXISTS uom_measure_type character varying;
"""
)

Expand Down

0 comments on commit e1e1022

Please sign in to comment.