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 want to add fields currency and reason fields in crm lead, Refer the code. Fields created but not updated in view.
<data> <xpath expr="/form[@string='LeadsForm']/sheet/group/group/field[@name='partner_name']" position="after"> <field name="crm_currency_id"/> <field name="oppr_lost_reason"/> </xpath> </data>
Is that code correct?
Hello, did you specify the inhert_id ?, try this:
<openerp> <data> <record id = "your_record_id" model = "ir.ui.view"> <field name = "name">your.record.id</field> <field name = "model">model.model</field> <field name = "inherit_id" ref = "crm.crm_case_form_view_leads"/> <field name = "arch" type = "xml"> <xpath expr = "/form/sheet/group/group/field[@name = 'partner_name']" position = "after">...
I hope it could help you..
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/3/13, 3:08 AM|
|Seen: 2158 times|
|Last updated: 3/16/15, 8:10 AM|