add bookname to report_options.xml
svn: r18604
This commit is contained in:
parent
5d034ca7a2
commit
107a589212
@ -1088,6 +1088,7 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
|
|||||||
if book:
|
if book:
|
||||||
self.open_book(book)
|
self.open_book(book)
|
||||||
self.name_entry.set_text(book.get_name())
|
self.name_entry.set_text(book.get_name())
|
||||||
|
self.book.name = book.get_name()
|
||||||
|
|
||||||
def on_edit_clicked(self, obj):
|
def on_edit_clicked(self, obj):
|
||||||
"""
|
"""
|
||||||
@ -1193,6 +1194,7 @@ class BookReportDialog(DocReportDialog):
|
|||||||
DocReportDialog.__init__(self, dbstate, uistate, options,
|
DocReportDialog.__init__(self, dbstate, uistate, options,
|
||||||
'book', _("Book Report"))
|
'book', _("Book Report"))
|
||||||
self.book = book
|
self.book = book
|
||||||
|
self.options.options_dict['bookname'] = self.book.name
|
||||||
self.database = dbstate.db
|
self.database = dbstate.db
|
||||||
self.selected_style = StyleSheet()
|
self.selected_style = StyleSheet()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user