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

Hi All,

Here i need a solution for some restriction.I have an object called base.modules(fields are name, technical name,product_id).In opportunity i will display one2many with this field. If base.modules table has 2 records like Record1, Record2, I have selected Record1 and again i dont allow to select same record on that form, but i can allow it in another form(another ID). How to restrict.Please give me solution.

Thanks in advance.

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

Hi,

In second form means? Are you working with wizard or you u want only one product in one record.

You can make that product inactive, once its selected, this is the one way to do so.

Or elaborate how you want and how is your code?

Câu trả lời hay nhất

you can use on_change method

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 20
3312
1
thg 8 17
3786
0
thg 3 15
3121
1
thg 3 15
6256
1
thg 9 23
1750