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
|Asked: 1/7/15, 9:53 AM|
|Seen: 706 times|
|Last updated: 3/16/15, 8:10 AM|