Oliver
55ff026696
Remove incorrect validation routine
2022-02-07 14:24:40 +11:00
Oliver
11f541303b
unit test fixes
2022-02-07 13:32:35 +11:00
Oliver
c6dc196053
PEP fixes
2022-02-07 12:32:50 +11:00
Oliver
509d58979e
Remove old templates
2022-02-07 12:29:15 +11:00
Oliver
11d5900b69
Update upload file template
2022-02-07 12:25:09 +11:00
Oliver
131663cecc
Adds options to clear existing BOM data when uploading
2022-02-07 12:20:18 +11:00
Oliver
4f26df3124
bug fix
2022-02-07 11:35:51 +11:00
Oliver
2ade14c47b
Check for duplicate BOM items as part of serializer validation
2022-02-07 11:35:07 +11:00
Oliver
a2c48d308f
Adds a BomUpload endpoint to handle upload of complete BOM
2022-02-07 10:54:37 +11:00
Oliver
0963602bea
Add optional part lookup by "part" field
2022-02-07 08:37:39 +11:00
Oliver
3bd39ec752
Attempt to auto-extract part information based on provided data
2022-02-05 01:26:08 +11:00
Oliver
137c9ff2f2
POST request now returns extracted data rows (as an array of dicts)
2022-02-05 00:30:00 +11:00
Oliver
707787d82c
Fix existing bug with BomExport functionality - could not select BOM format
2022-02-05 00:12:40 +11:00
Oliver
611592694b
Adds serializer for uploading a BOM file and extracting fields
2022-02-05 00:12:11 +11:00
Oliver
647b2be5cf
Merge pull request #2599 from SchrodingersGat/hide-part-pricing-history
...
Hide part pricing history
2022-02-03 16:57:23 +11:00
Oliver
722e947745
Only calculate pricing data if required
2022-02-03 16:30:48 +11:00
Oliver
525b6d399d
Hide pricing history tab if not enabled
2022-02-03 16:23:52 +11:00
Oliver
78b1c7a22b
Skips some specific steps when importing data
...
- We need to prevent certain operations from running when we are importing data
- This is to prevent unique database constraints from being violated
- Do not register plugins during data import
- Do not launch notification events
2022-02-03 16:03:46 +11:00
Oliver
0ea0edf1bb
Merge pull request #2574 from SchrodingersGat/allocation-tab
...
Allocation tab
2022-01-27 15:58:41 +11:00
Oliver
c43d1840ea
Load table of build order allocations
2022-01-27 14:55:19 +11:00
Oliver
3889baf37a
Adds a tab for "allocations"
2022-01-27 14:25:57 +11:00
Oliver
11125e9f60
Fixes for unit tests
2022-01-27 14:19:42 +11:00
Oliver
b027f126e8
Expand available stock information when exporting Bill of Materials
2022-01-27 13:59:13 +11:00
Matthias Mair
af04056843
Merge branch 'inventree:master' into style-fix
2022-01-24 23:39:17 +01:00
Matthias
b3d031c473
make expression simpler
2022-01-21 02:12:40 +01:00
Matthias
ff897ccc41
remove dead code
2022-01-21 00:30:51 +01:00
Matthias
c44565f9e3
fix reused builtins
2022-01-21 00:17:52 +01:00
Matthias
b2eb4e131a
remove empty test
2022-01-21 00:08:36 +01:00
Matthias
f8c4470d98
make simpler
2022-01-20 23:51:42 +01:00
Oliver Walters
6f3918deea
Fix for i18n javascript
2022-01-14 00:02:00 +11:00
Oliver
7ce55f4195
Add try/except blocks for calls to conert_money
2022-01-12 11:57:33 +11:00
Oliver
1937a9d737
PEP fixes
2022-01-11 13:49:53 +11:00
Oliver
8aec055e6c
Only load plugins if PLUGINS_ENABLED is true
...
- Hide plugin settings
- Add plugin support status to "stats" dialog
2022-01-11 13:39:47 +11:00
Oliver
1243923944
Event refactoring
2022-01-10 17:28:44 +11:00
Oliver
886b1f1d72
Simplify event triggering
...
- add generic receivers for database actions
- exclude django_q tables, otherwise we get an infinite loop!
Ref: https://stackoverflow.com/questions/17507784/consolidating-multiple-post-save-signals-with-one-receiver/32230933#32230933
2022-01-10 17:24:53 +11:00
Oliver
936330d3d2
Add more triggered events
2022-01-09 23:07:12 +11:00
Oliver
04d25a60b0
Adds sample plugin which responds to triggered events
...
- Adds some example trigger events for the "Part" model
2022-01-08 09:07:27 +11:00
Oliver
dc9e25ebad
Adds API endpoints for viewing and updating plugin settings
...
A lot of code updates / refactoring here to get this to work as expected
2022-01-04 20:27:35 +11:00
Matthias
95ee4f908f
Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append
2021-12-29 23:45:19 +01:00
Matthias
1d0aa900e8
add helper fnc to get latest SN as int
2021-12-29 02:50:23 +01:00
Oliver
774d834b7e
Merge pull request #2477 from SchrodingersGat/duplicate-bom-form
...
Duplicate bom form
2021-12-21 23:06:44 +11:00
Oliver
2c0da25cbc
"Validate BOM" now uses the API also
2021-12-21 22:45:59 +11:00
Oliver
70f9a0fe13
Furher logic improvements to BOM copy
...
- Remove "self" part from list
- Stop inherited BOM items from being copied incorrectly
- Allow user to select whether "inherited" BOM items are copied
2021-12-21 22:07:08 +11:00
Oliver
0c8a047bc2
Adds simply endpoint for BOM duplication
2021-12-21 17:29:14 +11:00
Oliver
0060bb074e
Updates for various part views
2021-12-21 16:56:47 +11:00
Oliver
36026a9217
PEP fixes
2021-12-13 23:15:06 +11:00
Oliver
01ce752a8c
BOM export options are now han
...
(cherry picked from commit c797eb0703
)
2021-12-13 23:12:11 +11:00
Oliver
d75ce451be
Allow user to select file format when downloadin BOM import template
...
(cherry picked from commit 8030ca0bb9
)
2021-12-13 23:11:42 +11:00
Oliver
a2357b5b46
Fix decimal places for money field
2021-12-12 22:18:29 +11:00
Oliver
e9ae3eb01d
Revert to bootstrap-treeview
...
- More "bootstrappy" design
- Already in code base
- Cleaner API
2021-12-11 00:25:44 +11:00