Odoo Help

Welcome!

This community 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.

0

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

By
Raachid Baiod
on 5/29/13, 8:30 PM 1,884 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?

0

Ray Carnes

--Ray Carnes--
15677
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

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

Absolutely!

Python

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

<?xml version="1.0" encoding="utf-8"?>
    <openerp>
        <data>
            <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" />
                   </field>
                </field>
        </record>
    </data>
</openerp>

</openerp>

0
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/29/13, 8:30 PM
Seen: 1884 times
Last updated: 3/16/15, 8:10 AM