Duplicate Quote

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edward7097
    Member
    • Sep 2015
    • 55

    #1

    Duplicate Quote

    hi, i found that there is a duplicate quote function, i have create a custom filed on auto-increment for quotation number. When i click duplicate quote number 1, the system will duplicate the auto-increment filed as well into new quote, when i click save it shows duplicate key in database.

    How can i empty the auto-increment field for duplicate quote?
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9617

    #2
    I don't get how it can be possible if field is autoincrement in db.

    You can make field readOnly.

    Comment

    • edward7097
      Member
      • Sep 2015
      • 55

      #3
      Originally posted by yurikuzn
      I don't get how it can be possible if field is autoincrement in db.

      You can make field readOnly.

      Please refer to the picture.

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9617

        #4
        But after create it should be changed to 2. Isn't it?

        Comment

        • edward7097
          Member
          • Sep 2015
          • 55

          #5
          Originally posted by yurikuzn
          But after create it should be changed to 2. Isn't it?
          This is the error after i click save.

          Comment

          • yuri
            EspoCRM product developer
            • Mar 2014
            • 9617

            #6
            This is a bug of EspoCRM. Will be fixed in the next release. Thanks.

            Comment

            • yuri
              EspoCRM product developer
              • Mar 2014
              • 9617

              #7
              Fix: https://github.com/espocrm/espocrm/c...ee7913decd21b9

              Comment

              • edward7097
                Member
                • Sep 2015
                • 55

                #8
                Originally posted by yurikuzn

                Thanks for your quick fixed.

                Comment

                Working...