Community mailing list archives

community@mail.odoo.com

Re: How to Hide Create Option

by
oscar alca
- 09/15/2015 12:14:26
no_create option makes the trick.

<field name="someothermodel_id" options="{'no_create': True}"

On Tue, Sep 15, 2015 at 2:14 AM, Davide Corio <enlightx@gmail.com> wrote:
On 12/09/15 13:47, Tutu Moses wrote:
> Hello,
> Does any one know how to hide the create option  not  to allow other
> users to create new products

if i'm not wrong, starting from v8 you can use create="False".
something like:

or this is not conditional, then if you need to disable that just in some cases you'd better try one of the modules mentioned in this thread. -- Davide Corio enlightx@gmail.com

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




--


   

Ing. Oscar Alcalá Rivera
312-107-1704 · oszckar@gmail.com

Vauxoo SA
Tlf: +52 (477) 773.33.46

Open Source Enthusiast

LinuxCounter:566085

   twitter linkedIn   Google+  

eco No me imprimas si no es necesario. Protejamos el medio ambiente