Community mailing list archives

community@mail.odoo.com

Re: Hide edit button according to status

by
Cristian Salamea
- 04/17/2016 22:22:47


On Sun, Apr 17, 2016 at 6:19 PM, Brahim EL ALLIOUI <belallioui@gmail.com> 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
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




--
 
Cristian Salamea on about.me
 
Cristian Salamea
about.me/ovnicraft