Community mailing list archives

community@mail.odoo.com

Re: Hide edit button according to status

by
zahid
- 04/17/2016 19:59:09
https://www.odoo.com/forum/help-1/question/how-to-hide-form-edit-button-depends-on-field-value-35225

On 18/04/16 00:19, Brahim EL ALLIOUI wrote:
Hello,

To hide edit button to form when state not draft I second flight the following code :

<form attrs="{'edit':[('state','=','draft')]}" >

But it did not work

Any help would be appreciated

Thanks,



Brahim EL ALLIOUI
General Manager
Skype : belallioui
Tel : +212535749410
Mobile : +212661940077

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe