Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
o = s.taboption('advanced', form.Flag, 'database_compress', _('Compress database'),
_('Whether to gzip compress archive databases. Compressing the database files makes accessing old data slightly slower but helps to reduce storage requirements.'));
+ o.default = o.enabled;
o = s.taboption('advanced', form.Value, 'database_generations', _('Stored periods'),
_('Maximum number of accounting periods to keep, use zero to keep databases forever.'));