~unifield-team/unifield-wm/wm-2418-rw-fix

« back to all changes in this revision

Viewing changes to account_journal/project/project.py

  • Committer: pierre-marie
  • Date: 2012-07-25 15:04:47 UTC
  • mfrom: (1038 unifield-wm)
  • mto: This revision was merged to the branch mainline in revision 1059.
  • Revision ID: pierre-marie@pierre-marie-laptop-20120725150447-namc1a6lqi455ez2
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        """
36
36
        Get all analytic journal type
37
37
        """
38
 
        return [('sale','Sale'), \
39
 
            ('purchase','Purchase'), \
40
 
            ('cash','Cash'), \
41
 
            ('general','General'), \
42
 
            ('situation','Situation'), \
43
 
            ('engagement', 'Engagement'), \
44
 
            ('hq', 'HQ'), \
45
 
            ('correction', 'Correction'), \
46
 
            ('cur_adj', 'Currency Adjustement'), \
47
 
            ('hr', 'HR'), \
48
 
            ('inkind', 'In-kind Donation'),]
 
38
        return [
 
39
            ('sale','Sale'),
 
40
            ('purchase','Purchase'),
 
41
            ('cash','Cash'),
 
42
            ('general','General'),
 
43
            ('situation','Situation'),
 
44
            ('engagement', 'Engagement'),
 
45
            ('hq', 'HQ'),
 
46
            ('correction', 'Correction'),
 
47
            ('cur_adj', 'Currency Adjustement'),
 
48
            ('hr', 'HR'),
 
49
            ('inkind', 'In-kind Donation'),
 
50
            ('intermission', 'Intermission'),
 
51
        ]
49
52
 
50
53
    _columns = {
51
54
        'type': fields.selection(get_journal_type, 'Type', size=32, required=True, help="Gives the type of the analytic journal. When it needs for a document \