diff --git a/modules/ameli/browser.py b/modules/ameli/browser.py index 6c5b47bb..ac7fadce 100644 --- a/modules/ameli/browser.py +++ b/modules/ameli/browser.py @@ -88,16 +88,6 @@ class AmeliBrowser(LoginBrowser): for payment in self.page.iter_payment_details(sub): yield payment - @need_login - def iter_details(self, sub): - self.logger.debug('call Browser.iter_details') - det = Detail() - det.id = sub.id - det.label = sub.label - det.infos = '' - det.price = Decimal('0.0') - yield det - @need_login def iter_bills(self, sub): self.logger.debug('call Browser.iter_bills') diff --git a/modules/ameli/module.py b/modules/ameli/module.py index 8671e627..d7363b46 100644 --- a/modules/ameli/module.py +++ b/modules/ameli/module.py @@ -60,11 +60,6 @@ class AmeliModule(Module, CapBill): subscription = self.get_subscription(subscription) return self.browser.iter_history(subscription) - def get_details(self, subscription): - if not isinstance(subscription, Subscription): - subscription = self.get_subscription(subscription) - return self.browser.iter_details(subscription) - def iter_bills(self, subscription): if not isinstance(subscription, Subscription): subscription = self.get_subscription(subscription)