Greetings, Im seeing this issue after upgrading to 8.0.5 that shows itself only when trying to duplicate a record
WebUI error - Error 400: Bad request, field: off, validation: validCurrency
This entity is called Debited, and is used for registering spending from bank accounts and from till (cash)
I understand that this has to do with currency, our Espo currently uses 2, Russian ruble and Thai Baht
The entity structure that is afftected (as far as I understand from the logs)
There is a field called "off", that is used as kind of a marker for another entity to determine either "off" or "on" state
Formula used in the Debited entity:
The "off" field has a condition "visible only if sum = 9 999 999 999 rub"
That was my way to hide it, since I want it non visible
Not sure what direction to go from here, any help appreciated
Edit: Probably should also specify that the upgrade was from 7.2.4, and the setup is on docker using :latest image
WebUI error - Error 400: Bad request, field: off, validation: validCurrency
HTML Code:
Log error: [2023-11-15 05:46:39] WARNING: (400) Field validation failure; entityType: Debited, field: off, type: validCurrency.; POST /Debited; line: 56, file: /var/www/html/application/Espo/Core/Exceptions/BadReques>
I understand that this has to do with currency, our Espo currently uses 2, Russian ruble and Thai Baht
The entity structure that is afftected (as far as I understand from the logs)
There is a field called "off", that is used as kind of a marker for another entity to determine either "off" or "on" state
Formula used in the Debited entity:
Code:
ifThen(till == 'till1', off=sum); ifThen(till == 'till2', on=sum); ifThen(till != 'till1', off=0); ifThen(till != 'till2', on=0);
That was my way to hide it, since I want it non visible
Not sure what direction to go from here, any help appreciated
Edit: Probably should also specify that the upgrade was from 7.2.4, and the setup is on docker using :latest image
Comment