~camptocamp/account-financial-report/7.0-fix-1253659

« back to all changes in this revision

Viewing changes to account_financial_report/wizard/wizard.py

[MERGE] When you use this reports to audit your data you need better filters.
This merge include the option to select Posted or All Account Entries, for the all reports
incluiding Analytic Ledger

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        'tot_check': fields.boolean('Summarize?', help='Checking will add a new line at the end of the Report which will Summarize Columns in Report'),
55
55
        'lab_str': fields.char('Description', help='Description for the Summary', size=128),
56
56
 
 
57
        'target_move': fields.selection([('posted', 'All Posted Entries'),
 
58
                                        ('all', 'All Entries'),
 
59
                                         ], 'Entries to Include', required=True,
 
60
                                         help='Print All Accounting Entries or just Posted Accounting Entries'),
57
61
        #~ Deprecated fields
58
62
        'filter': fields.selection([('bydate', 'By Date'), ('byperiod', 'By Period'), ('all', 'By Date and Period'), ('none', 'No Filter')], 'Date/Period Filter'),
59
63
        'date_to': fields.date('End date'),
70
74
        'fiscalyear': lambda self, cr, uid, c: self.pool.get('account.fiscalyear').find(cr, uid),
71
75
        'display_account': lambda *a: 'bal_mov',
72
76
        'columns': lambda *a: 'five',
 
77
        'target_move': 'posted',
73
78
    }
74
79
 
75
80
    def onchange_inf_type(self, cr, uid, ids, inf_type, context=None):