Odoo Help


how can I setup a new field?

Monitor Service Center GmbH
on 7/17/13, 8:04 PM 1,348 views

Hi together,

I would like to add a new field in the artikle data set. I am a new user and have no idea how to do that.

Could somebody help me to solve this problem?

thanks in advance


Hi ,

all you have to do is follow this step , you have two ways to do it , with coding or without coding , i am showing you with coding which is by far more flexible.

  1. open your artikle data set py , look for the class and if this artikle is already a module then you may want to inherit it.

    class artikle(osv.osv): _inherit = "artikle"

        _columns = {
                "your_new_field" :  fields.(TYPE----> please refer to 
                            the type of fields available, 
                          https://doc.openerp.com/trunk/server/03_module_dev_02/ )


  2. make a xml view file and then look for section "inheritance in Views" at https://doc.openerp.com/trunk/server/03_module_dev_03/

  3. after make all above edit , shut down and restart the openerp-server services

  4. goto the module , if is a new module , then you click install at the module if is a module which already installed , then you click upgrade .

this is a simple steps that hope can help you in any where.

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: 7/17/13, 8:04 PM
Seen: 1348 times
Last updated: 3/16/15, 8:10 AM