From 4881bb0be7fdd470e3774eb9c30ad151aadf9d77 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 2 Aug 2015 20:08:48 +0200 Subject: [PATCH] remove Bill.idparent and add Bill.vat --- weboob/capabilities/bill.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/weboob/capabilities/bill.py b/weboob/capabilities/bill.py index ead20bf9..f6b7e519 100644 --- a/weboob/capabilities/bill.py +++ b/weboob/capabilities/bill.py @@ -57,9 +57,6 @@ class Detail(BaseObject, Currency): quantity = DecimalField('Number of units consumed') unit = StringField('Unit of the consumption') - def __init__(self): - BaseObject.__init__(self, 0) - class Bill(BaseObject, Currency): """ @@ -68,16 +65,13 @@ class Bill(BaseObject, Currency): date = DateField('The day the bill has been sent to the subscriber') format = StringField('file format of the bill') label = StringField('label of bill') - idparent = StringField('id of the parent subscription') price = DecimalField('Price to pay') currency = StringField('Currency', default=None) + vat = DecimalField('VAT included in the price') deadline = DateField('The latest day to pay') startdate = DateField('The first day the bill applies to') finishdate = DateField('The last day the bill applies to') - def __init__(self): - BaseObject.__init__(self, 0) - class Subscription(BaseObject): """