mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] base_import_match: black, isort, prettier
This commit is contained in:
committed by
anjeel.haria
parent
80a27085f7
commit
9ed2c852df
@@ -164,7 +164,8 @@ class BaseImportMatchField(models.Model):
|
||||
for one in self:
|
||||
pattern = u"{name} ({cond})" if one.conditional else u"{name}"
|
||||
one.display_name = pattern.format(
|
||||
name=one.field_id.name, cond=one.imported_value,
|
||||
name=one.field_id.name,
|
||||
cond=one.imported_value,
|
||||
)
|
||||
|
||||
@api.onchange("field_id", "match_id", "conditional", "imported_value")
|
||||
|
||||
Reference in New Issue
Block a user