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.
It's possible to define too(2) trees for a record and call one in edit mode and other in view mode.
One with attribute editable="bottom" and the other without this attribut.
The goal is to be able to open a form in view mode and edit records in treeview inline when update bouton is clicked.
Thanks to answer me.
Hello, thanks to your answer but it is not realy what i wanna do.
I want to have something like that :
<record model="ir.ui.view" id="my_tree">
<field name="arch" type="xml">
<tree editable="bottom" domain="[('widget.view.is_action_enabled('edit')', '=', False)]">
<tree domain="[('widget.view.is_action_enabled('edit')', '!=', False)]">
when I mentioned <tree editable="bottom"> I will add attachment through tree view itself only. it is looking fine for me. But when I have saved current record and click on row of tree view that is one of the attachment it will not redirect to file details or ir attachment form view. but if i did not mentioned editable="bottom" then it will redirect to form view for same case.
Thank you in Advance :)
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: 9/12/15, 1:25 PM|
|Seen: 483 times|
|Last updated: 9/12/15, 7:41 PM|