Automatic filling of the "Parent" field when creating

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mr2d2
    Senior Member
    • Apr 2017
    • 126

    Automatic filling of the "Parent" field when creating

    Hello to all!
    How to find the code that automatically attaches one object to another(Automatic filling of the "Parent" field when creating)
    Example:
    I create a new object from "Opportunity". When creating an object from which I create, it will be reflected in the "Parent" field.
    How can I make the "Opportunity*" field work like this?
    Click image for larger version

Name:	
Views:	0
Size:	64.1 KB
ID:	33144
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    start digging from client/src/views/record/panels/relationship.php, if you created it from relationship panel

    Comment


    • mr2d2
      mr2d2 commented
      Editing a comment
      I have only js files.
      Maybe client/src/views/record/panels/relationship.js?

    • tanya
      tanya commented
      Editing a comment
      yes, of course, sorry
  • mr2d2
    Senior Member
    • Apr 2017
    • 126

    #3
    Originally posted by tanya
    Hello
    start digging from client/src/views/record/panels/relationship.php, if you created it from relationship panel
    I create from this panel.
    Click image for larger version

Name:	
Views:	0
Size:	77.4 KB
ID:	33193

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #4
      in this case client/modules/crm/src/views/record/panels/activities.js method getCreateActivityAttributes

      Comment

      Working...