Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
4818 Weergaven

How to disable create button in many2many field in form view like :

<field name="field_name" options="{'create': false, 'create_edit': false}">

Avatar
Annuleer
Beste antwoord

<field name="field_name" options="{'no_create': True}"></field>

 

try this. it in v8

Avatar
Annuleer

Hello I saw the answer and I have a doubt. Can i make domains on the options attribute, or do you know another form to make a domain relative to one field.

Auteur Beste antwoord

I am on V7

Avatar
Annuleer
Beste antwoord

There is this module that can be used and adds more options: https://github.com/0k/web_m2x_options

Avatar
Annuleer
Auteur

This module web_m2x_options doesn't work in this case.I already tested