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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
5321
Views
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>
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.