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.

1

Jignesh Mehta

--Jignesh Mehta--
2087
| 6 4 8
Surat, India
--Jignesh Mehta--


Jignesh Mehta
On 5/10/16, 12:01 AM

Hello MouBou,


Try this:-

<group string="One 2 Many String Name">

    <field name="one2many_field" nolabel="1">

        <tree editable="bottom">

            <field name="one2many_class_field1"/>

            <field name="one2many_class_field2"/>

            <field name="one2many_class_field3"/>

        </tree>

    </field>

</group>


Update Ans :-

<group string="One 2 Many String Name">

    <field name="one2many_field" nolabel="1">

         <tree>

         One2many class fields.

         </tree>

         <form string="Form">

            <group>                       

                <field name="one2many_class_field1"/>

                <field name="one2many_class_field2"/>

                <field name="one2many_class_field3"/>

           </group>

        </form>

    </field>

</group>  



Hope it will helps you.

Thanks,

Thank you jignesh ,but is there a way to show form instead of tree ?

MouBou
on 5/10/16, 5:21 AM

Hello You can also open form from tree view. See my updated code. Thanks,

Jignesh Mehta
on 5/10/16, 5:26 AM

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

1 follower(s)

Stats

Asked: 5/9/16, 4:46 PM
Seen: 269 times
Last updated: 5/11/16, 8:55 AM