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

To prohibit the creation of contact from CRM.


    

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất
  • Go to the CRM app

  • Open an opportunity and go to the from view (debug mode) 

  • go to you inherited views - copy and past that code:  

<xpath expr="//field[@name='partner_is_blacklisted']/..//field[@name='partner_id']" position="attributes">

    <attribute name="options">{'no_create_edit': True}</attribute>

 </xpath>



  • go to a lead and copy past that code to the inherited view

<xpath expr="//field[@name='partner_id']" position="attributes">

    <attribute name="options">{'no_create_edit': True}</attribute>

 </xpath>








  • Finally: pay attention to the access rights you give - if you don't want that one user can create a contact you don't have to just put him away of the contact creation from the extra rights. You also have to go to the access rights details (debug mode - top right). Sort by object and then take him off from creation and delete rights of each contact object. 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 22
83
1
thg 4 21
5369
1
thg 3 22
3601
1
thg 6 24
3629
3
thg 9 21
6539