Convert Page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ksv
    Member
    • Jul 2020
    • 59

    #16
    Dear all,

    I do the same. I need to delete opportunity and get error "Error 500: ORM repository 'Lead' does not exist".
    i am modifying the file on this path (application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json) (see attached picture)
    What is the reason of that error?

    Attached Files

    Comment

    • tarasm
      Super Moderator
      • Mar 2014
      • 573

      #17
      It should be a syntax error in this file. For modification such metadata, please use a "custom/Espo/Custom/Resources/metadata/" directory. More details, https://docs.espocrm.com/development...how-its-stored
      Job Offers and Requests

      Comment

      • ksv
        Member
        • Jul 2020
        • 59

        #18
        Sorry, but i used original file from this custom/Espo/Custom/Resources/metadata/ and deleted that i marked in red, replaced file on this way application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json and rebuild CRM.

        Comment

        • tarasm
          Super Moderator
          • Mar 2014
          • 573

          #19
          Try to check the content of this file via any online "json validator".
          Job Offers and Requests

          Comment

          • ksv
            Member
            • Jul 2020
            • 59

            #20
            It's VALID (RFC 8259). some other issue. Should i replace the file only this way application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json?

            Comment

            • ksv
              Member
              • Jul 2020
              • 59

              #21
              Tarasm, many thanks. The problem was related to JSON Specification. Everything is working

              Comment

              • dreginald
                Member
                • Sep 2018
                • 89

                #22
                While converting it is feasible to enable Tick on Contact and Account by default?

                Is there a convert from Opportunity to Account?

                Comment

                Working...