Skip to content

Commit

Permalink
imp: avoid redundant update
Browse files Browse the repository at this point in the history
  • Loading branch information
lcbautista authored Aug 2, 2024
1 parent 5ed4eb2 commit a219030
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
from oopgrade.oopgrade import load_data
from tools import config


def up(cursor, installed_version):
if not installed_version:
if not installed_version or config.updating_all:
return
load_data(cursor, 'poweremail_generic_template', 'data/banners/banner_generic_email_template_company.xml')

Expand Down

0 comments on commit a219030

Please sign in to comment.