Odoo Help


How to change the Your Company record with XML [Closed]

Hendrik ten Hoor
on 1/3/14, 1:23 PM 1,034 views

The Question has been closed for reason: duplicate question

Grover Menacho
on 01/03/2014 15:47:53

I want to make an OpenERP-module which install my configuration. I'am able to add records to the database tables using XML-files in the datasection of __openererp___. However I want to change the "Your Company" record in the res_comapany table instead of add an new one to it. How can this be accomplisched using a XML-file ?



Atul Arvind

--Atul Arvind--
| 3 3 5
vadodara, India
--Atul Arvind--


I am odoo Enthusiast/Developer from Vadodara, India. Working with odoo from v5 to v11 and other opensource technology since 5+ years. Having Strong Expertise in

Odoo Development

Odoo Customization

Odoo Training

Odoo Integration

Server Administration

Odoo Migration


Here is my StackOverflow profile.  you can also find me on LinkedIn.

Contact: atul.surficle@gmail.com.

Atul Arvind
On 1/3/14, 3:32 PM

To update the record of company using the demo data you need to write a record in xml file like,

    <record id="base.main_company" model="res.company">
        <field name="name">Your New Company</field>
        <field name="partner_id" ref="main_partner"/>
        <field name="rml_header1">Your Company Tagline</field>
        <field name="currency_id" ref="base.EUR"/>

it will change the default company information while installing your customer module.

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: 1/3/14, 1:23 PM
Seen: 1034 times
Last updated: 3/16/15, 8:10 AM