2013-08-14 12:33:27 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from openerp.osv import osv, fields
|
|
|
|
|
2013-10-03 12:14:14 +00:00
|
|
|
|
2013-08-14 12:33:27 +00:00
|
|
|
class hr_job(osv.osv):
|
2013-10-03 12:14:14 +00:00
|
|
|
""" Override to add website-related columns: published, description. """
|
2013-08-14 12:33:27 +00:00
|
|
|
_inherit = "hr.job"
|
2013-10-03 12:14:14 +00:00
|
|
|
|
2013-08-14 12:33:27 +00:00
|
|
|
_columns = {
|
2013-08-16 13:19:56 +00:00
|
|
|
'website_published': fields.boolean('Available in the website'),
|
2013-09-25 12:51:20 +00:00
|
|
|
'website_description': fields.html('Description for the website'),
|
2013-08-14 12:33:27 +00:00
|
|
|
}
|