Changes

Jump to: navigation, search

Report-writing tutorial

44 bytes removed, 03:40, 28 December 2012
m
Using MenuReportOptions: format
<pre>
def add_menu_options(self, menu): """ Add options to the menu for this report. """ category_name = _("Report Options") what_types = BooleanListOption(_('Select From:')) what_types.add_button(_('People'), True) what_types.add_button(_('Families'), False) what_types.add_button(_('Places'), False) what_types.add_button(_('Events'), False) menu.add_option(category_name, "what_types", what_types)
</pre>

Navigation menu