Commit 89d0f8b1 authored by Olivier Da Rocha's avatar Olivier Da Rocha Committed by Romain Bignon

capabilities.bill: link Documents to Transactions

parent 9925e8cd
......@@ -18,7 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from .base import BaseObject, StringField, DecimalField, BoolField, UserError, Currency
from .base import BaseObject, StringField, DecimalField, BoolField, UserError, Currency, Field
from .date import DateField
from .collection import CapCollection
......@@ -66,6 +66,7 @@ class Document(BaseObject):
format = StringField('file format of the document')
label = StringField('label of document')
type = StringField('type of document')
transactions = Field('List of transaction ID related to the document', list, default=[])
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