inherits Detail and Bill from Currency
This commit is contained in:
parent
23f86ff116
commit
30f32bea60
1 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
from .base import BaseObject, StringField, DecimalField, UserError
|
from .base import BaseObject, StringField, DecimalField, UserError, Currency
|
||||||
from .date import DateField
|
from .date import DateField
|
||||||
from .collection import CapCollection
|
from .collection import CapCollection
|
||||||
|
|
||||||
|
|
@ -44,7 +44,7 @@ class BillNotFound(UserError):
|
||||||
UserError.__init__(self, msg)
|
UserError.__init__(self, msg)
|
||||||
|
|
||||||
|
|
||||||
class Detail(BaseObject):
|
class Detail(BaseObject, Currency):
|
||||||
"""
|
"""
|
||||||
Detail of a subscription
|
Detail of a subscription
|
||||||
"""
|
"""
|
||||||
|
|
@ -61,7 +61,7 @@ class Detail(BaseObject):
|
||||||
BaseObject.__init__(self, 0)
|
BaseObject.__init__(self, 0)
|
||||||
|
|
||||||
|
|
||||||
class Bill(BaseObject):
|
class Bill(BaseObject, Currency):
|
||||||
"""
|
"""
|
||||||
Bill.
|
Bill.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue