mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279
This commit is contained in:
		| @@ -17,7 +17,7 @@ def currency_code_default(): | ||||
|     from common.models import InvenTreeSetting | ||||
|  | ||||
|     try: | ||||
|         code = InvenTreeSetting.get_setting('INVENTREE_DEFAULT_CURRENCY') | ||||
|         code = InvenTreeSetting.get_setting('INVENTREE_DEFAULT_CURRENCY', create=False) | ||||
|     except ProgrammingError:  # pragma: no cover | ||||
|         # database is not initialized yet | ||||
|         code = '' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user