~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to unifield_setup/setup_configuration.py

  • Committer: Olivier DOSSMANN
  • Date: 2012-11-19 17:26:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1293.
  • Revision ID: od@tempo-consulting.fr-20121119172648-hhc62u4mit8v0j8l
[ADD] New configurator for payroll

  * Add a configurator for payroll that hide payroll menu or display it regarding selected option

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                                                 string='Restrictive countries'),
74
74
        'field_orders_ok': fields.boolean(string='Activate the Field Orders feature ?'),
75
75
        'lang_id': fields.char(size=5, string='Default language'),
 
76
        'payroll_ok': fields.boolean(string='System manages payrolls ?'),
76
77
    }
77
78
    
78
79
    _defaults = {
84
85
        'lang_id': lambda *a: 'en_MF',
85
86
        'unallocated_ok': lambda *a: False,
86
87
        'fixed_asset_ok': lambda *a: False,
 
88
        'payroll_ok': lambda *a: False,
87
89
    }
88
90
    
89
91
    _constraints = [