From c13858ef7af0fd8944a471fe87b115b5ad0f51ad Mon Sep 17 00:00:00 2001 From: Florian Duguet Date: Wed, 10 Apr 2019 17:00:16 +0200 Subject: [PATCH] [capabilities.bill] add has_file field to Document class when this field is False, it means website doesn't provide any file not even in html default value is True --- weboob/capabilities/bill.py | 1 + 1 file changed, 1 insertion(+) diff --git a/weboob/capabilities/bill.py b/weboob/capabilities/bill.py index bf0e05bae7..7cf98de1ea 100644 --- a/weboob/capabilities/bill.py +++ b/weboob/capabilities/bill.py @@ -77,6 +77,7 @@ class Document(BaseObject): label = StringField('label of document') type = StringField('type of document') transactions = Field('List of transaction ID related to the document', list, default=[]) + has_file = BoolField('Boolean to set if file is available', default=True) class Bill(Document, Currency): -- GitLab