2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Add migration file

This commit is contained in:
Oliver Walters
2022-04-26 20:21:15 +10:00
parent 314cec5ad0
commit 24da5d41b8
2 changed files with 21 additions and 0 deletions

View File

@ -227,6 +227,8 @@ def generate_batch_code():
now = datetime.now()
# Pass context data through to the template randering.
# The folowing context variables are availble for custom batch code generation
context = {
'date': now,
'year': now.year,