Odoo Help

Welcome!

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.

0

How to change Opporunities Form lead tab

crm
By
sridhar
on 8/23/13, 4:21 AM 879 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"/>
                </xpath>
            </field>
        </record>
0
Xsias
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>
     </xpath>
   </field>
</record>

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 8/23/13, 4:21 AM
Seen: 879 times
Last updated: 3/16/15, 8:10 AM