Code Improve.
bzr revid: jir@tinyerp.com-20130611104954-k7uta5b9003xx28e
This commit is contained in:
parent
959445fa69
commit
9bc546a6a0
|
@ -21,11 +21,10 @@
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from openerp import tools
|
from openerp import tools
|
||||||
from openerp.addons.base_status.base_stage import base_stage
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from openerp.osv import fields, osv
|
from openerp.osv import fields, osv
|
||||||
from openerp.tools.translate import _
|
from openerp.tools.translate import _
|
||||||
from openerp.tools import html2plaintext
|
|
||||||
class applicant_document(osv.osv):
|
class applicant_document(osv.osv):
|
||||||
_name = 'hr.applicant'
|
_name = 'hr.applicant'
|
||||||
_inherit = 'hr.applicant'
|
_inherit = 'hr.applicant'
|
||||||
|
@ -54,5 +53,4 @@ class applicant_document(osv.osv):
|
||||||
'index_content': fields.function(_get_index_content, string='Index Content', \
|
'index_content': fields.function(_get_index_content, string='Index Content', \
|
||||||
fnct_search=_content_search,type="text"),
|
fnct_search=_content_search,type="text"),
|
||||||
}
|
}
|
||||||
applicant_document()
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue