36cf614aed
Add "level" to PartCategory serializer
...
- Also use tree ordering by default
2021-07-18 21:11:53 +10:00
cbf0e0bd4a
Refactor forms for editing and deleting a PartParameter
...
- PartParameters now loaded using the API, not pre-rendered
2021-07-09 01:56:04 +10:00
72526307ae
Renderer for supplier part
2021-07-02 17:11:07 +10:00
30ac5dba55
Display attachment upload date
2021-06-30 17:44:23 +10:00
621f47e46c
Replace "edit part category" form
2021-06-30 01:04:39 +10:00
798bc17311
Merge remote-tracking branch 'inventree/master' into drf-api-forms
2021-06-29 09:57:03 +10:00
a3ec24fbcc
Reenabling prices for BOM items
...
Closes #1721
2021-06-27 13:48:08 +02:00
b20af54b76
Create select2 instance for related field
2021-06-25 07:36:37 +10:00
04374c71c2
Annotate models with their API list view
...
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
36e6b9f164
Set allow_null flag on image fields
2021-06-23 11:40:37 +10:00
878f26c770
Enable upload of company image via the API
2021-06-23 08:39:06 +10:00
2fc7c3d883
fix typo
2021-06-22 22:16:11 +10:00
e29594811b
Allow direct upload of images via the API
2021-06-22 22:09:30 +10:00
0d93c96f2a
adding internal price breaks as in #1606
2021-06-05 17:01:49 +02:00
5c71f04360
Add "allow_variants" field to BomItem
2021-06-01 13:59:01 +10:00
5ce262172d
Fixed bom_item unit test
2021-05-14 16:59:59 -04:00
274eb51e48
Added read_only args
2021-05-14 16:29:55 -04:00
1940fd5199
Now processing currencies
2021-05-14 16:16:23 -04:00
68f5ec8b6a
Added currency conversion
2021-05-13 17:09:52 -04:00
32d0f3039d
Obviously new float fields should be read-only...
2021-05-13 16:17:45 -04:00
f2e9f58f1b
Added purchase price range and average to BOM items/view
2021-05-13 15:47:42 -04:00
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
0fbf39f1bc
More fixes
2021-04-20 10:59:28 +10:00
cf6a03456f
Adds 'suppliers' field to Part serializer
...
- Number of supplier parts associated with the Part object
2021-02-22 18:44:31 +11:00
40d75090a7
Add 'inherited' flag to API
2021-02-17 21:53:26 +11:00
9a30108b75
Auto-update the expiry date in the StockItem form when switching Part selection
2021-01-05 00:37:42 +11:00
e3231bbedb
Hide "pricing" information in the BOM table
2020-11-24 20:58:18 +11:00
ac2797c7a1
Improved API endpoint for category parameter templates
2020-11-16 16:10:00 -05:00
cb3c86f87a
Merge remote-tracking branch 'inventree/master' into currency-support
...
# Conflicts:
# InvenTree/InvenTree/settings.py
# InvenTree/InvenTree/urls.py
# InvenTree/templates/InvenTree/settings/tabs.html
# InvenTree/users/models.py
# requirements.txt
IMPORTANT: Had to merge some migration files due to different migrations applied on the part model tables
2020-11-12 17:24:48 +11:00
4dff18e4a6
Remove common_currency model entirely
...
- A lot of views / pages / etc needed to be updated too
- Now uses django-money fields entirely
- Create a manual rate exchange backend (needs more work!)
2020-11-11 00:21:06 +11:00
2a563d7370
Added category list of parameter templates table to settings
2020-10-31 09:18:33 -05:00
3143242d13
Added category 'default_location' to serializer
2020-10-12 13:14:24 -05:00
eb98496a79
Added part 'default_location' to serializer
2020-10-12 07:25:32 -05:00
3ee7be1d58
Add "optional" field to BomItem
...
- Defaults to False
- Indicates that the BomItem is "optional" for a build
- Will be used in the future when calculating if a Build output is fully allocated!
2020-10-05 00:42:09 +11:00
86660a5f17
style fixes
2020-09-19 19:52:48 +10:00
ca1281ee10
Adds ajax table for part sale price information
2020-09-18 22:11:51 +10:00
46a8107be5
Refactor stock filter
2020-09-05 23:35:48 +10:00
f7ad38dad5
Add unit tests for new aggregation annotation approach
2020-09-05 23:28:54 +10:00
42967905bc
New approach for multiple annotations
...
- Use the django-sql-utils addon - https://github.com/martsberger/django-sql-utils
- The "distinct=True" flag was not doing what I thought it was doing...
2020-09-05 22:35:19 +10:00
f1373e3bea
Improve speed of BomItem API queries
...
- Including the pricing information takes absolutely ages, takes too long!!
2020-08-15 21:52:32 +10:00
d34383e842
Specify serializer type for part category
2020-08-15 21:20:31 +10:00
f386039d5a
Added validation method for uploaded file using imghdr library
2020-07-21 16:01:17 -05:00
af70dd5dfe
Allowing Part thumbnail (image) update via API
2020-07-20 16:16:26 -05:00
126e42a022
Add "IPN" column to stock list table
2020-06-06 08:47:06 +10:00
e128410d54
Update 'required' status for new serializers
...
(cherry picked from commit 2306e29743eb25266c78bec5357d1194e0778c58)
2020-05-26 20:29:09 +10:00
81e38eeb14
Add some more custom FileField serializers
...
(cherry picked from commit 7b9ff27baefacc977fef7852e99d8a9bb46a062a)
2020-05-26 20:29:04 +10:00
4bd0872b2c
Expose some more stock item data over API
2020-05-22 23:33:27 +10:00
2f6d03388d
Add serializer / table display
2020-05-18 19:15:40 +10:00
4d992ea528
Expose test templates to the API
2020-05-17 13:56:49 +10:00
f36c5137dd
Add ability to add part file attachments via the API
2020-05-11 23:25:55 +10:00