Commit c13858ef authored by Florian Duguet's avatar Florian Duguet Committed by Romain Bignon

[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
parent 002688c8
......@@ -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):
......
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