bzr revid: mra@mra-laptop-20100915105624-t10u58qv8g6sg1th
This commit is contained in:
Mustufa Rangwala 2010-09-15 16:26:24 +05:30
parent 53c631b74a
commit 1e1783be5c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class aged_trial_report(rml_parse.rml_parse, common_report_header):
def set_context(self, objects, data, ids, report_type=None):
self.query = data['form'].get('query_line', '')
self.direction_selection = data['form'].get('direction_selection', 'past')
self.target_move = data['form'].get('direction_selection', 'past')
self.target_move = data['form'].get('target_move', 'all')
self.date_from = data['form'].get('date_from', time.strftime('%Y-%m-%d'))
if (data['form']['result_selection'] == 'customer' ):
self.ACCOUNT_TYPE = ['receivable']