Odoo Help


Is the database design flexible so that we can add new fields or tables?

Raachid Baiod
on 5/29/13, 8:30 PM 2,477 views

If there is a field or quantity not included in the standard OpenERP database, can we customize the database and the modules that interact with the database to have the new field/table taken into account?

Ray Carnes
On 5/29/13, 8:58 PM



from openerp.osv import fields,osv

class res_partner(osv.osv):

_inherit = 'res.partner'

_columns = {
       'new_field':fields.char('New Field Name',size=64),


<?xml version="1.0" encoding="utf-8"?>
            <record id="custom_partner_form" model="ir.ui.view">
                <field name="name">custom.partner.form</field>
                <field name="model">res.partner</field>
                <field name="type">form</field>
                <field name="inherit_id" ref="base.view_partner_form"/>
                <field name="arch" type="xml">
                   <field name="name" position="after">
                        <field name="new_field" />


Ian Beardslee
On 5/29/13, 8:57 PM

Yes. OpenERP is open source, you can do what you want with it at the source level.

I'd recommended ensuring that you built a module for those changes so that you can maintain that as the OpenERP gets updated/upgraded. If it is a change that you think everyone else would want to or should be using you should create a 'bug report' and submit a patch for those changes.

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/29/13, 8:30 PM
Seen: 2477 times
Last updated: 3/16/15, 8:10 AM