Odoo Help


inheritance view and update it?

on 3/27/13, 6:33 AM 1,988 views

Hi guys.. i have a question with inheritance view, i've just got what is inheritance view for the function. But i have next question, why must default view, such as: res.partner, must have more than one inheritance view, such as : res.partner.emails.info.inherit

<?xml version="1.0"?>
<xpath expr="//field[@name='active']" position="after">
                    <field name="opt_out"/>

and res.partner.opt_out.form

<?xml version="1.0"?>
<xpath expr="//sheet" position="after">
                    <div class="oe_chatter">
                        <field name="message_follower_ids" widget="mail_followers"/>
                        <field name="message_ids" widget="mail_thread" options="{&quot;thread_level&quot;: 1}"/>

, and many more. why must separated into different file? why just no united it? and then, when i finished making new inheritance view in xml, how to update it? so that it can be inserted to database and directly applied in parent view.. really need your help guys.. thank's in advance.


Francesco OpenCode

--Francesco OpenCode--

| 6 8 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 3/27/13, 7:16 AM

If you inherite a view, you have two ways to update you code:

  1. Go into the installed modules, go to you module and update it
  2. Run openerp by command line and use the parameter --update=your_module_name

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: 3/27/13, 6:33 AM
Seen: 1988 times
Last updated: 3/16/15, 8:10 AM