Odoo Help


How can I add a new text field to the existing data

Béchir Benbrika
on 5/27/13, 5:12 AM 3,523 views

Hello, I'm sorry, how can I add a new text field to the existing data of an article with openerp 7.


michel Guénard

--michel Guénard--

| 5 5 8
--michel Guénard--

VP operations & finance Social entrepreneur Certified Public Accountant Past Chief internal auditor

michel Guénard
On 5/27/13, 5:21 AM

same question at https://accounts.openerp.com/forum/Help-1/question/16222

where the question includes a list of places to learn how to add fields.

On 5/27/13, 5:26 AM
    'name': 'HR Recruitment Extensionssss',
    'version': '1.1',
    'category': 'Generic Modules',
    'description': """
    After Applicantis hired it will automatically fetch value from Applicants to Employee master
    'author': 'Sridhar',
    'depends': ['base','hr','hr_recruitment'],
    'update_xml': ['hr_reqiurement_ext_view.xml'],
    'installable': True,
    'active': False,

save as a __openerp__.py

class hr_applicant(osv.osv):
    _inherit = 'hr.applicant'
    _columns = {
        'doj':fields.date('Date of Birth'),
        'presentsal':fields.integer('Present Salary'),

save hr_recruitment_ext.py

<?xml version="1.0"?>
    <record model="ir.ui.view" id="hr_recruitment_ext_form">
        <field name="name">hr.applicant</field>
        <field name="model">hr.applicant</field>
        <field name="type">form</field>
        <field name="inherit_id" ref="hr_recruitment.crm_case_form_view_job"/>
        <field name="arch" type="xml">
            <field name="partner_id" position="before">
                   <field name="doj"/>
                   <field name="presentsal"/>

save hr_reqiurement_ext_view.xml

__init__.py import hr_recruitment_ext

Try this, add a extra field on applicant form. check it.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/27/13, 5:12 AM
Seen: 3523 times
Last updated: 3/16/15, 8:10 AM