Commit 594e06bb authored by Florian Duguet's avatar Florian Duguet Committed by Romain Bignon

[edf - pro] take subscription label in another place

sometimes label is empty, because we can't perform matching

Closes: 37142@sibi
parent 4b06947a
......@@ -73,6 +73,9 @@ class SubscriptionsPage(LoggedPage, JsonPage):
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'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment