From 594e06bbea47d250d45a5dd477d7c7e898344121 Mon Sep 17 00:00:00 2001 From: Florian Duguet Date: Wed, 24 Apr 2019 18:13:19 +0200 Subject: [PATCH] [edf - pro] take subscription label in another place sometimes label is empty, because we can't perform matching Closes: 37142@sibi --- modules/edf/pro/pages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/edf/pro/pages.py b/modules/edf/pro/pages.py index 1476b20206..e76305caa6 100644 --- a/modules/edf/pro/pages.py +++ b/modules/edf/pro/pages.py @@ -73,6 +73,9 @@ class item(ItemElement): klass = Subscription obj_id = CleanText(Dict('idPFLabel')) + # this label will be override if we find a good contract with _get_similarity_among_id, + # but it's not always the case, so take it here for now + obj_label = CleanText(Dict('idPFLabel')) obj__account_id = CleanText(Dict('idCompteDeFacturation')) -- GitLab