2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-13 08:21:26 +00:00

Launch a modal to select BOM download format

- This will have to change! A client-side hack for now..
- Work out a better way to do this!
This commit is contained in:
Oliver Walters
2019-04-16 21:46:12 +10:00
parent be60fbcc25
commit 7eea9d1a20
7 changed files with 68 additions and 30 deletions

View File

@ -302,7 +302,7 @@ class Part(models.Model):
rows.append([str(x) for x in line])
file_format = kwargs.get('file_format', 'csv').lower()
file_format = kwargs.get('format', 'csv').lower()
kwargs['header'] = header
kwargs['rows'] = rows