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

« back to all changes in this revision

Viewing changes to msf_homere_interface/hr_payroll.py

  • Committer: Matthieu Dietrich
  • Date: 2012-07-10 14:12:40 UTC
  • mfrom: (913 unifield-wm)
  • mto: This revision was merged to the branch mainline in revision 935.
  • Revision ID: mdietrich@chloups211-20120710141240-celi3o016fqz7mj1
UF-881: [MERGE] merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
    _columns = {
98
98
        'date': fields.date(string='Date', required=True, readonly=True),
 
99
        'document_date': fields.date(string='Document Date', required=True, readonly=True),
99
100
        'account_id': fields.many2one('account.account', string="Account", required=True, readonly=True),
100
101
        'period_id': fields.many2one('account.period', string="Period", required=True, readonly=True),
101
102
        'employee_id': fields.many2one('hr.employee', string="Employee", readonly=True),
122
123
 
123
124
    _defaults = {
124
125
        'date': lambda *a: strftime('%Y-%m-%d'),
 
126
        'document_date': lambda *a: strftime('%Y-%m-%d'),
125
127
        'state': lambda *a: 'draft',
126
128
    }
127
129