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

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.

頭像
捨棄

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?

最佳答案

you can use on_change method

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 20
3299
1
8月 17
3773
0
3月 15
3117
1
3月 15
6253
1
9月 23
1749