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

« back to all changes in this revision

Viewing changes to msf_accrual/test/accrual_test.yml

  • 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:
144
144
    reference: 'test reference'
145
145
    currency_id: base.CHF
146
146
    date: !eval "'%s-03-12' %(datetime.now().year+1)"
 
147
    document_date: !eval "'%s-03-12' %(datetime.now().year+1)"
147
148
    accrual_amount: 4242.0
148
149
    third_party_type: 'hr.employee'
149
150
    employee_id: employee_arthur_dent
160
161
  !python {model: msf.accrual.line}: |
161
162
    accrual_line = self.browse(cr, uid, ref("accrual_line_test"), context={})
162
163
    assert accrual_line.state == 'posted', ("Line was not posted!")
163
 
    
 
 
b'\\ No newline at end of file'
 
164