Error with Currency type field after upgrade to 7.4.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Danny
    Member
    • Aug 2021
    • 35

    Error with Currency type field after upgrade to 7.4.1

    Hi team,

    I am not able to fill a value in Currency field and save the record. The error is "Amount should be a valid float". I have tried to enter 10000.00 but same error message

    Click image for larger version

Name:	image.png
Views:	232
Size:	34.4 KB
ID:	90509
    Click image for larger version

Name:	image.png
Views:	170
Size:	33.1 KB
ID:	90510​​
    Anyone encounter the same? ​
  • yuri
    Member
    • Mar 2014
    • 8560

    #2
    What are your currency settings (Administration > Currency). Could you provide a screenshot.
    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

    • Danny
      Member
      • Aug 2021
      • 35

      #3
      Hi yuri, below is my currency setting

      Click image for larger version

Name:	image.png
Views:	188
Size:	27.2 KB
ID:	90519

      Comment

      • yuri
        Member
        • Mar 2014
        • 8560

        #4
        Try to set currency decimal places to some value. E.g. 2.
        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


        • Danny
          Danny commented
          Editing a comment
          It's working as expected when I set a value for Currency Decimal Places (Its also work when I put 0, I assume that it cannot be empty)
      • yuri
        Member
        • Mar 2014
        • 8560

        #5
        I could not reproduce exactly your error. But it really doesn't work with the empty value. Fix: https://github.com/espocrm/espocrm/c...524717790eb035
        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

        Working...