Beispiel #1
0
 def __init__(self, filename, objectlist, data, *args, **kwargs):
     person = kwargs.pop('person', None)
     if person:
         self.main_object_name = (_("performed call to %s") % person.name,
                                  _("performed calls to %s") % person.name)
     ObjectListReport.__init__(self, filename, objectlist, data, *args,
                               **kwargs)
Beispiel #2
0
 def __init__(self, filename, objectlist, data, *args, **kwargs):
     person = kwargs.pop('person', None)
     if person:
         self.main_object_name = (_("performed call to %s") % person.name,
                                  _("performed calls to %s") % person.name)
     ObjectListReport.__init__(self, filename, objectlist, data,
                               *args, **kwargs)
Beispiel #3
0
 def __init__(self, filename, objectlist, transactions, account, *args, **kwargs):
     self.title = _("Transactions for account %s") % (account.description, )
     ObjectListReport.__init__(self, filename, objectlist, transactions,
                               self.title, *args, **kwargs)