Commit Graph

2189 Commits

Author SHA1 Message Date
Oliver
82840b0590 Adds custom delete routine for PartCategory model 2022-03-10 15:01:20 +11:00
Oliver
d5fe62262d Refactor "delete part category" dialog
- Translations
- Simplification
2022-03-10 12:51:49 +11:00
Oliver
f7d724aa0c Merge remote-tracking branch 'inventree/master' into scheduling
# Conflicts:
#	InvenTree/InvenTree/version.py

(Update API version)
2022-03-08 12:25:36 +11:00
Matthias
4e832bb9ac
make sure 'no date' elements do not fail 2022-03-07 00:01:30 +01:00
Oliver
434f563a41 Adds API endpoint for "auto allocating" stock items against a build order.
- If stock exists in multiple locations, and the user "does not care" where to take from, simply iterate through and take
2022-03-04 15:26:00 +11:00
Oliver
99f3d97f13
Merge pull request #2709 from SchrodingersGat/stock-exporter
Stock export refactor
2022-03-04 00:26:49 +11:00
Oliver
0ba71956cd Add unit tests 2022-03-04 00:02:30 +11:00
Oliver
ba406a4da9 Refactorin'
- Add the "download" button into the "filters" list
- Cuts down on boilerplate code
2022-03-03 21:16:27 +11:00
Oliver
0ec0f55e17 Style fixes 2022-03-03 17:44:12 +11:00
Oliver
4f74a27e1a Exporting data from a Part table now uses the API too
- Makes use of the existing table filters
- Exported data matches exactly what you see in the table!
2022-03-03 17:42:31 +11:00
Oliver
8bf84ec217 Remove calls to "exportStock" 2022-03-03 17:25:31 +11:00
Oliver
67d0033ab3 Allows BOM to be copied for any part, not just variant parts 2022-03-03 13:19:25 +11:00
Oliver
954f0afb85 Merge branch 'master' into scheduling 2022-03-03 09:15:08 +11:00
Oliver
55d09c4469
Merge pull request #2699 from SchrodingersGat/duplicate-bom-subs
Allow duplication of subtitute parts when copying a BOM
2022-03-02 21:50:18 +11:00
Oliver
676266215e Errant F 2022-03-02 21:50:02 +11:00
Oliver
0d2bfa6839
Merge pull request #2698 from SchrodingersGat/delete-serialized-stock
Allows deletion of serialized stock
2022-03-02 00:32:59 +11:00
Oliver
35451be4f2
Merge pull request #2697 from SchrodingersGat/allocation-bug
Bug fix for BuildOrder.bom_items
2022-03-02 00:32:35 +11:00
Oliver
5dc543618e Allow duplication of subtitute parts when copying a BOM 2022-03-02 00:31:50 +11:00
Oliver
f6b3760bb5 Make UI elements more consistent
Ref: https://github.com/inventree/InvenTree/issues/2692
2022-03-02 00:05:02 +11:00
Oliver
28a7ad7f0e Bug fix for BuildOrder.bom_items
- Now uses the query generator provided by the Part model
- No more code duplication
- More importantly, no more code duplication which is WRONG!
2022-03-01 23:53:33 +11:00
Oliver
457bcdc0ae Fix some small template / JS errors on the "part" page 2022-03-01 23:38:02 +11:00
Oliver
9a62fe6993 style fixes 2022-03-01 23:31:18 +11:00
Oliver
e44159baea Adds (per user) setting to show or hide scheduling tab 2022-03-01 23:26:08 +11:00
Oliver
f33f1a339d Add more information to scheduling chart
Also improves chart styling
2022-03-01 23:20:08 +11:00
Oliver
776dffe779 Scheduling information is now calculated on the server, and provided via a new API endpoint
- Much simpler than sequencing multiple API calls
2022-03-01 22:54:49 +11:00
Oliver
a278e52443 Merge branch 'master' into scheduling 2022-03-01 16:50:57 +11:00
Oliver
5d37ce9175 Merge remote-tracking branch 'inventree/master' into date-format 2022-03-01 08:18:24 +11:00
Oliver
42a75863fe Adds a "persist" option for modal forms 2022-03-01 00:25:14 +11:00
Oliver
0eba6f2476 Prevent operations on null dates 2022-02-28 23:39:11 +11:00
Oliver
b00ae67d68 Pass dates in templates through the new template tag 2022-02-28 19:10:33 +11:00
Oliver
08946a411a Created template tag which renders date in templates based on user preference 2022-02-28 19:07:46 +11:00
Oliver
8587a59ec1 WIP - loading graph 2022-02-26 18:36:25 +11:00
Oliver
e162432fde Merge remote-tracking branch 'origin/master' into scheduling 2022-02-25 23:01:17 +11:00
Oliver
baab955756 Further fixes for unit tests 2022-02-25 17:17:34 +11:00
Matthias
d5bcd256f6
merge statments 2022-02-20 04:26:52 +01:00
Matthias
1ff6988ffd
remove unneeded assignment 2022-02-20 04:24:13 +01:00
Matthias
68d182d67b
remove unused code 2022-02-20 04:23:19 +01:00
Oliver
584ce89def Adds (blank) scheduling tab to part page 2022-02-18 13:41:26 +11:00
Oliver
580effab92 Merge remote-tracking branch 'inventree/master' into match-fields
# Conflicts:
#	InvenTree/InvenTree/version.py
2022-02-17 22:55:16 +11:00
Oliver
6e6f9d6c2f Reintroduce option to clear (delete) BOM before uploading new data 2022-02-17 22:54:02 +11:00
Oliver
f485bc7d53 PEP fixes 2022-02-17 17:04:51 +11:00
Oliver
0604e1a127 Adds API endpoint for installing stock items into other stock items
- Requires more filtering for the Part API
- Adds more BOM related functionality for Part model
- Removes old server-side form
2022-02-17 17:03:17 +11:00
Oliver
31fd69fc76 Ensure unit tests are more resilient 2022-02-17 14:00:16 +11:00
Oliver
82cfc5423a Further improvements to unit tests 2022-02-17 13:07:16 +11:00
Oliver
47f6b709c9 Improve unit testing 2022-02-17 12:10:48 +11:00
Oliver
e298a3adbf Implement unit test for missing columns 2022-02-17 11:45:44 +11:00
Oliver
371af2a34a unit test fixes 2022-02-16 22:19:02 +11:00
Oliver
8f6312f7f4 Adds generic javascript function for mapping file columns to model fields 2022-02-16 17:04:33 +11:00
Oliver
f399f4fa34 Refactoring API endpoints
- Improved URL naming scheme
2022-02-16 16:57:27 +11:00
Oliver
d7adb6959d Adds functionality to map file columns to model fiels 2022-02-16 14:57:13 +11:00