remove_hide_save_button_from_odoo_form.xml
Code Description
To hide "Save" button we only need to add (create="false") as we added in our code in line no 5. In the below screen shot you can see there is no "Save" button.
<record model="ir.ui.view" id="form_view_unique_id"> | |
<field name="name">name.of.form.view</field> | |
<field name="model">model.name</field> | |
<field name="arch" type="xml"> | |
<form string="Form Name" create="false" > | |
<sheet> | |
<group> | |
<!--Your fields goes here--> | |
</group> | |
</sheet> | |
</form> | |
</field> | |
</record> |
5 Comments
save button hide is not working
ReplyDeleteplease mention your code here!....
ReplyDeleteIn odoo 12 doesn't work.
ReplyDeletetry adding this in your action
Delete< field name="target" > inline < /field >
how to hide for some user groups?
ReplyDelete