[FIX] hr: missing ref in tests
bzr revid: rco@openerp.com-20111222133814-e80cid84xjq372dl
This commit is contained in:
parent
a078b524c7
commit
8e029465e7
|
@ -3,7 +3,7 @@
|
|||
no_of_employee: 0.0
|
||||
no_of_recruitment: 5.0
|
||||
-
|
||||
!record {model: hr.employee, id: niv, view: False}:
|
||||
!record {model: hr.employee, id: employee_niv, view: False}:
|
||||
address_id: base.main_address
|
||||
company_id: base.main_company
|
||||
department_id: dep_rd
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
I assign the job position to a newly hired employee
|
||||
-
|
||||
!python {model: hr.employee}: |
|
||||
self.write(cr, uid, [ref('niv')], {'job_id':ref('job_developer')})
|
||||
self.write(cr, uid, [ref('employee_niv')], {'job_id':ref('job_developer')})
|
||||
-
|
||||
Now I dont want to recruit new employee for this position. so I mark it as Old.
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue