Odoo Help

0

inheritance view and update it?

By
wasis85
on 3/27/13, 6:33 AM 1,614 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"/>
                </xpath>

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}"/>
                    </div>
                </xpath>

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

1

Francesco OpenCode

--Francesco OpenCode--
3638
| 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

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.

Register

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)

Stats

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