Hi I am trying to create a Form for display only mode; so I need to hide all the headers or it's elements: bread crumbs, buttons (edit, create, more, delete, duplicate, next, previous) from the Form.
images and full question at stackoverflow: (i do not have enough karma to upload image, or embed url)
subject: OpenERP 7: Hide Whole Form Header or It's Elements
How to hide the Whole Form's header for Read Only mode?
What is the best practice in OpenERP 7 to show form in read only mode?
Found a way to remove 'Edit' and 'Create' buttons in form and disable deletion, with a hint from this answer:
In your form, add this:
<form string="Your string" edit="false" create="false" delete="false">
Perhaps some experiments or search through addons source code for examples could reveal a full solution for your problem.
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: 6/27/13, 8:39 AM|
|Seen: 3455 times|
|Last updated: 3/16/15, 8:10 AM|