Odoo Help


How to change Opporunities Form lead tab

on 8/23/13, 4:21 AM 965 views

I need a changes to Opportunities form the second tab Leads was change as other name like Job how can i do it. i already inherit the module and do some changes but not working help me. here is my code.

<record model="ir.ui.view" id="crm_case_form_view_oppor">
            <field name="name">Opportunities</field>
            <field name="model">crm.lead</field>
            <field name="priority">20</field>
            <field name="arch" type="xml">
                <xpath expr="/form/sheet/notebook" position="replace">
                    <page string="JOB Details"/>
On 8/23/13, 12:54 PM

The good code will be :

<record model="ir.ui.view" id="crm_case_form_view_oppor_inherit">
  <field name="name">Opportunities.inherit</field>
  <field name="model">crm.lead</field>
  <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
  <field name="priority">20</field>
   <field name="arch" type="xml">
     <xpath expr="//page[@string='Lead']" position="replace">
       <page string="JOB Details"></page>

But i've a question : you need to change the name of the page or you don't want the "Lead" page and want to put your own page ?

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 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: 8/23/13, 4:21 AM
Seen: 965 times
Last updated: 3/16/15, 8:10 AM