Duplicate Quote

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

    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
    Member
    • Mar 2014
    • 8478

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

    You can make field readOnly.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    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
        Member
        • Mar 2014
        • 8478

        #4
        But after create it should be changed to 2. Isn't it?
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        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
            Member
            • Mar 2014
            • 8478

            #6
            This is a bug of EspoCRM. Will be fixed in the next release. Thanks.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8478

              #7
              Fix: https://github.com/espocrm/espocrm/c...ee7913decd21b9
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • edward7097
                Member
                • Sep 2015
                • 55

                #8
                Originally posted by yurikuzn

                Thanks for your quick fixed.

                Comment

                Working...