Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4884 Lượt xem

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

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

 

try this. it in v8

Ảnh đại diện
Huỷ bỏ

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.

Tác giả Câu trả lời hay nhất

I am on V7

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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