콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
7371
6
7월 24
46708
2
4월 20
4442
2
11월 19
3608
1
11월 17
4692