Odoo Help

1

1
2 Answers
1
Marius Stedjan
20/02/19, 22:04

You can add editable="bottom" to the tree tag. 
This will create a new line in the tree view when you click the Create button.

<tree string="My Tree View" editable="bottom">
    <field name="my_field_1"/>
    <field name="my_field_2"/>
</tree>

I don't think you can make it behave like an "inline" tree-view.. but I might be wrong.

2
Avatar

NIKHIL KRISHNAN

--NIKHIL KRISHNAN--
--NIKHIL KRISHNAN--

-- Nikhilkrishnan --

Exploring new ways in odoo..!
And want to become a key to the new odoo trends.

-> Odoo Consultancy,
-> Functional and Technical Consultant,
-> Requirement Collection and Analysis,
-> Module Customization,
-> Odoo ERP Community Contributor,
-> Handling ERP/Odoo projects,
-> ERP Workshop Facilitator.
Feel happy working with best and good supporting team.

#PITS Family

Nikhil Krishnan

nikhilkrishnan0101@gmail.com

NIKHIL KRISHNAN
20/02/19, 23:51

hi

If you are creating your on tree view.

<tree string="your_tree_view" editable="bottom">
    <field name="field_name"/>
</tree>

OR

<tree string="your_tree_view" editable="top">
    <field name="field_name"/>
</tree>

If need you need this in already defined tree you then just inherit the view.

Other case you can edit it from the frond end as an admin


Activate the developer mode and "Click the Edit View".


Add the code in tree tag.
"<tree string="Events" editable="top" ................>

.................

</tree>

then its work fine.


Regards

NikhilKrishnan,

Ask a Question
Writer
Keep Informed
1 follower(s)
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