Community mailing list archives

community@mail.odoo.com

Re: Benevolent Record Dictator

by
dar
- 11/03/2015 19:18:31
Hi

I doublechecked, and yes, the edit button is "available" on the tax record which was protected by:

[('create_uid','!=',1)] permissions: write, unlink

Is there any elegant way to disable the create button? I reference the html for what I mean...

<button accesskey="E" class="oe_form_button_edit btn btn-default btn-sm" type="button">Edit</button>

I have a hard time to imagine that I'm the first person stumbling over this behavior...

Christian, where you referring to the same? This would imply that there has been a js script that made this magic in v8, which has gone in v9... Frankly, I doubt that.