跳至內容
選單
此問題已被標幟
4591 瀏覽次數

I want to stop user from adding new line in one2many field.  

but with an twist that only if this record has certain type (Any domain, eg:   type=available & is_new_lead = true)

how to achieve this ?  

As we can not pass domain to the create attribute. we can only pass create=true or create=false.


Thanks in Advance. 


Update: Can not use raise warning on record save, Due to some status and logic concern. 

頭像
捨棄

Put your check at the time of save

作者

Hello @usman I can not use raise warning due to our some logic.

相關帖文 回覆 瀏覽次數 活動
1
7月 19
6627
6
7月 24
44444
2
4月 20
3730
2
11月 19
2826
1
11月 17
3895