Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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>
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 ?
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/23/13, 4:21 AM|
|Seen: 937 times|
|Last updated: 3/16/15, 8:10 AM|