Remove the "person" option from reports, report options, and report dialogs. Person is selected by the user for all reports.

svn: r10074
This commit is contained in:
Brian Matherly
2008-02-20 04:52:10 +00:00
parent 65951d6722
commit cc6654ddab
34 changed files with 148 additions and 129 deletions

View File

@@ -55,7 +55,7 @@ import ThumbNails
#------------------------------------------------------------------------
class SimpleBookTitle(Report):
def __init__(self,database,person,options_class):
def __init__(self, database, options_class):
"""
Creates SimpleBookTitle object that produces the report.
@@ -75,7 +75,7 @@ class SimpleBookTitle(Report):
footer - Footer string.
"""
Report.__init__(self,database,person,options_class)
Report.__init__(self, database, options_class)
self.title_string = options_class.handler.options_dict['title']
self.image_size = options_class.handler.options_dict['imgsize']
@@ -119,8 +119,8 @@ class SimpleBookTitleOptions(ReportOptions):
Defines options and provides handling interface.
"""
def __init__(self,name,person_id=None):
ReportOptions.__init__(self,name,person_id)
def __init__(self, name, dbase):
ReportOptions.__init__(self, name, dbase)
# Options specific for this report
self.options_dict = {