跳至內容
選單
此問題已被標幟
3 回覆
4823 瀏覽次數

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

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

頭像
捨棄
最佳答案

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

 

try this. it in v8

頭像
捨棄

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.

作者 最佳答案

I am on V7

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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