mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Reporting: Build line label fix (#6717)
* Fix "BuildLine" label in PUI - Point to "buildline" not "build" * Prevent escape closing template ediror * Update report docs * Fix for format_number - Prevent number from being represented as scientific notation
This commit is contained in:
		| @@ -410,7 +410,10 @@ def format_number(number, **kwargs): | ||||
|         except ValueError: | ||||
|             pass | ||||
|  | ||||
|     value = str(number) | ||||
|     # Re-encode, and normalize again | ||||
|     value = Decimal(number).normalize() | ||||
|     value = format(value, 'f') | ||||
|     value = str(value) | ||||
|  | ||||
|     leading = kwargs.get('leading', None) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user