diff options
| author | Raphael Collet <rco@openerp.com> | 2012-07-05 14:22:07 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-07-05 14:22:07 +0200 |
| commit | c407fa45ce7171ca47e11854eb6a45460f1c3dfd (patch) | |
| tree | c9fa53ac95855b26b2f65c8408e7d3646088c25c | |
| parent | b891603849e11580a4983d5269bf5465ee88157c (diff) | |
[FIX] hr_recruitment: fix default value of company_id
bzr revid: rco@openerp.com-20120705122207-cs730asuew9w7vxz
| -rw-r--r-- | addons/hr_recruitment/hr_recruitment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 21aa1b4327d..32bebef3dc0 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -235,7 +235,7 @@ class hr_applicant(base_stage, osv.Model): 'stage_id': lambda s, cr, uid, c: s._get_default_stage_id(cr, uid, c), 'department_id': lambda s, cr, uid, c: s._get_default_department_id(cr, uid, c), 'priority': lambda *a: '', - 'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'crm.helpdesk', context=c), + 'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'hr.applicant', context=c), 'color': 0, } |
