[MIG] base_global_discount: Migration to 13.0

[UPD] Update base_global_discount.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_global_discount
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_global_discount/
This commit is contained in:
Ernesto Tejeda
2020-11-03 19:07:07 -05:00
committed by Omar (Comunitea)
parent bfda1e6a6a
commit b215abe4f7
15 changed files with 85 additions and 40 deletions

View File

@@ -0,0 +1,13 @@
# Copyright 2020 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
def migrate(cr, version):
if not version:
return
cr.execute(
"""
DELETE FROM ir_model_relation
WHERE name = 'global_discount_res_partner_rel';
"""
)