[MIG] base_import_match: Migration to 12.0

This commit is contained in:
ernesto
2019-02-08 09:26:42 -05:00
committed by Radovan Skolnik
parent 06689fc773
commit b45ed98831
21 changed files with 671 additions and 57 deletions

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
# Copyright 2016 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
@@ -26,6 +25,7 @@ class BaseImportMatch(models.Model):
domain=[("transient", "=", False)],
help="In this model you will apply the match.")
model_name = fields.Char(
string="Model name",
related="model_id.model",
store=True,
index=True)