form view readonly

Asked by Aksana Ivanova on 2013-10-30

Hello!
I need to make whole form_view readonly, whithout even a possibility to edit ou create a new record, the buttons "Edit" and "Create" could be invisible.
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Serpent Consulting Services
Solved:
2013-10-30
Last query:
2013-10-30
Last reply:
2013-10-30

Aksana,

You can do this for tree/form by :

    <form string="NAMEOFFORM" create="false" edit="false" version="7.0">
        ...
    </form>

Thanks.

To Serpent Consulting Services:

I have already tried this, but fogot about version="7.0" -- its working now.

Thank you.

Thanks Serpent Consulting Services, that solved my question.

Nice to hear that, welcome!