You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: Thanks for the report number generator!
A small bug: The tag added to the project does not reflect the actual report number, when there is a template used with random numbers.
I used this template: {% now 'y' %}-{% random_number 01 98|stringformat:'02d' %}{{project_number}}{% random_number 0 9|stringformat:'01d' %}
The resulting report number was 25-3792, the tag was 25-6096.
The text was updated successfully, but these errors were encountered:
Thanks for reporting. The problem is that the project number is formatted twice by rendering the template twice - once for the tag and once for the field - resulting in different random numbers.
First of all: Thanks for the report number generator!
A small bug: The tag added to the project does not reflect the actual report number, when there is a template used with random numbers.
I used this template:
{% now 'y' %}-{% random_number 01 98|stringformat:'02d' %}{{project_number}}{% random_number 0 9|stringformat:'01d' %}
The resulting report number was 25-3792, the tag was 25-6096.
The text was updated successfully, but these errors were encountered: