Odoo Help


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.


inheritance view and update it?

on 3/27/13, 6:33 AM 1,446 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--
| 5 7 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

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)


Asked: 3/27/13, 6:33 AM
Seen: 1446 times
Last updated: 3/16/15, 8:10 AM