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.
Hello every body,
I want to view one2many field as a pop up window in purchase requsition and my code in XML is
<field name="line_ids" >
<form string="Products" editable="bottom">
<field name="company_id" groups="base.group_multi_company" />
but this code not work and this field still view as a tree view So
can you help me please?
I will thankful for your help
You need to remove editable="bottom" from the TREE view.
<record model="ir.ui.view" id="view_purchase_requisition_form_inherit">
<field name="inherit_id" ref="purchase_requisition.view_purchase_requisition_form" />
<field name="arch" type="xml">
<attribute name="editable" eval="False"/>
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: 1/7/15, 9:53 AM|
|Seen: 779 times|
|Last updated: 3/16/15, 8:10 AM|