Oliver
db009189ca
remove unused function
2021-11-16 20:07:16 +11:00
Oliver
192cfb80b0
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/InvenTree/version.py
2021-11-16 17:06:38 +11:00
Oliver
e36b4458bd
PEP fixes
2021-11-15 23:58:34 +11:00
Oliver
ca3c3685fe
Tweaks
2021-11-15 23:51:21 +11:00
Oliver
01da889c46
Add ability to search "partparametertemplate" API by "name" field
2021-11-15 23:31:56 +11:00
Oliver
00dc7dafe1
Construct "used in" table
2021-11-15 22:39:58 +11:00
Oliver
a9852355c4
Add a unit test
2021-11-15 22:28:09 +11:00
Oliver
1f997d07b6
Update BOM API to allow filtering by "uses"
2021-11-15 22:16:13 +11:00
Oliver
dad097a3ba
Merge remote-tracking branch 'inventree/master' into partial-shipment
2021-11-15 10:55:17 +11:00
Oliver
1deb0f2c1b
Merge pull request #2296 from SchrodingersGat/requires-restart
...
Requires restart
2021-11-12 16:02:31 +11:00
Matthias
5bb3a95699
Fix theme selector
...
Fixes #2298
2021-11-11 23:04:16 +01:00
Oliver
626637a06a
Add "hidden" property to global settings
...
- Allows certain settings to be hidden from the javascript files
2021-11-11 22:16:46 +11:00
Oliver
d5cf2b08ac
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/InvenTree/version.py
# InvenTree/order/models.py
2021-11-11 12:35:59 +11:00
Matthias
bae28e8207
Add setting for enabeling reports
...
Fixes #2278
2021-11-10 23:54:54 +01:00
Oliver
4a26f274af
fixing silly bug I introduced
2021-11-10 14:00:30 +11:00
Oliver
1bb51a7309
Normalize "available stock" quantity before exporting
2021-11-10 13:27:59 +11:00
Oliver
bd81eba380
PEP style fixes
2021-11-10 11:13:30 +11:00
Oliver
6a534e0322
Improve options for installing a part into another part
...
- Allow "variant" parts when the BOM specifies that variants are allowed for a particular BOM item
2021-11-10 11:11:52 +11:00
Oliver
cb075ed2c2
Fix logic for converting stock items to applicable variants
2021-11-08 15:10:41 +11:00
Oliver
bf4de526ac
Typo fix
2021-11-05 10:20:47 +11:00
Oliver
f27acde934
More fixes
...
- Allow stock item creation for inactive parts
- Better handling of successful stock item creation
- Disable fields rather than hiding them
2021-11-05 00:02:55 +11:00
Oliver
f0e44f0efd
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-04 17:24:30 +11:00
Oliver
2130b02e7f
Merge pull request #2193 from matmair/matmair/issue2181
...
Add missing part import fields
2021-11-04 16:54:30 +11:00
Oliver
3a7f8c9196
Fix comparison operator
2021-11-04 16:18:49 +11:00
Oliver
5ae6241083
Fixes for low-stock emails
...
- Include variant stock in test
- Improve email template
2021-11-04 16:15:11 +11:00
Oliver
170d8d11d3
Merge pull request #2246 from SchrodingersGat/build-order-notification
...
Build order notification
2021-11-04 15:23:39 +11:00
Oliver
01191d84c5
Only run check stock function when updating an existing part
2021-11-04 14:32:42 +11:00
Oliver
6db6a70fc2
Add task to check required stock for build order
2021-11-04 13:32:14 +11:00
Oliver
9dba3c3f10
Refactored bom export
2021-11-04 12:10:36 +11:00
Oliver
3b56895f4d
Merge branch 'master' into stock-item-forms
2021-11-04 10:34:49 +11:00
Oliver
52242e7a00
Catch error
2021-11-04 08:40:38 +11:00
Oliver
a447e22108
Prevent low-stock notifications from overwhelming users
...
- Limit to once per day, per part
2021-11-04 01:18:00 +11:00
Oliver
5542532223
Template tweaks
2021-11-04 00:44:16 +11:00
Oliver
ee7c3ae066
Update index page
2021-11-04 00:38:34 +11:00
Oliver
476a1342c1
Improve notification of 'low stock' parts:
...
- Traverse up the variant tree
- Enable subscription by "category"
2021-11-04 00:28:10 +11:00
Oliver
1c6eb41341
Ability to toggle part category "star" status via the API
2021-11-04 00:01:52 +11:00
Oliver
7567b8dd63
MOAR FEATURES:
...
- Add admin view for PartCategoryStar
- Add starred status to partcategory API
- Can filter by "starred" status
- Rename internal functions back to using "starred" (front-end now uses the term "subscribe")
2021-11-03 23:22:31 +11:00
Oliver
f9a00b7a90
Adds extra subsctiption functionality for Part and PartCategory
...
- Allows variants and templates
- Allows categories and sub-categories
- Unit testing
2021-11-03 22:57:49 +11:00
Oliver
cf023e2cc1
Create new model for "PartCategory"
2021-11-03 18:10:34 +11:00
Oliver
e7f6268640
Improvements for alert notifications
...
- Dismissable
- Delete after a certain amount of time
2021-11-03 17:55:30 +11:00
Oliver
85adf842f6
Change bullhorn icon to bell icon
2021-11-03 16:59:59 +11:00
Oliver
63ec5770f4
Merge remote-tracking branch 'inventree/master' into subscription-refactor
2021-11-03 16:55:54 +11:00
Oliver
e5435df2ba
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-03 15:46:30 +11:00
Oliver
74521b7628
Merge pull request #2239 from SchrodingersGat/more-part-details
...
Add more information to the "part details" tab
2021-11-03 14:18:43 +11:00
Oliver
31ea71d391
Display part category
2021-11-03 14:00:13 +11:00
Oliver
d435689562
Add more information to the "part details" tab
2021-11-03 13:57:50 +11:00
Oliver
ecccae1081
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-03 13:34:45 +11:00
Oliver
08ffa102c6
Fixes for part category table
...
(cherry picked from commit f7ef309995f8a52c213748f4a9226724e288c936)
2021-11-03 13:34:01 +11:00
Oliver
08719d4d1b
Merge pull request #2236 from SchrodingersGat/badge-fix
...
Fix CSS for user badges
2021-11-03 12:41:10 +11:00
Oliver
b1c23e30f5
Fix CSS for user badges
2021-11-03 11:59:20 +11:00
Oliver
c636f13ba8
Template fix for BOM upload
2021-11-03 11:44:42 +11:00
Oliver
aaf27d4098
Adds new buttons to create a new stock item
2021-11-03 07:27:58 +11:00
Oliver
4bfdf21107
Change "star" icon to "bullhorn" icon
2021-11-02 15:07:20 +11:00
Oliver
6f9ac4a850
- Fixes for construct_absolute_url function
...
- Refactor notification email generation
- Update template file
- Add separate templates folder for email
2021-11-02 00:40:25 +11:00
Oliver
9cbc2b82b5
Merge pull request #2208 from rocheparadox/master
...
Email notification for low stock
2021-11-01 22:45:49 +11:00
rocheparadox
76c1e936db
Added post_delete hook to StockItem
...
moved the business logic of 'deciding if a low stock notification has to be sent' to part.tasks
2021-11-01 08:25:59 +05:30
Matthias Mair
c775d030f9
Merge branch 'inventree:master' into matmair/issue2181
2021-11-01 01:06:18 +01:00
Oliver
360f0406b5
CSS updates
...
- Add template for filter lists
- Filter lists now layout horizontally
- Change flex-row to flex-wrap
2021-11-01 08:38:24 +11:00
rocheparadox
40da41959b
Created part.tasks file and moved notify_low_stock function to the same from InvenTree.tasks. The argument type is changed from StockItem to Part
...
Added trans to headers of table in email template of low_stock_notification.html
added is_part_low_on_stock() function to the part model to check if the part's stock has fallen below the minimum quantity
used offload_task function to run the low stock notification function asynchronously
2021-10-31 11:26:41 +05:30
Matthias Mair
20a129f396
Merge branch 'inventree:master' into matmair/issue2181
2021-10-30 17:24:03 +02:00
Oliver
eaa315e726
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/build/templates/build/build_base.html
# InvenTree/order/templates/order/order_base.html
# InvenTree/order/templates/order/sales_order_base.html
# InvenTree/order/templates/order/sales_order_detail.html
# InvenTree/order/templates/order/so_navbar.html
2021-10-30 23:44:06 +11:00
Oliver
75c8faa09f
Tweaks
2021-10-30 22:30:04 +11:00
Oliver
a689b77cfb
More tweaks
2021-10-30 13:18:11 +11:00
Oliver
c2a8cfd183
PEP style fixes
2021-10-30 12:57:49 +11:00
Oliver
8e1d9c281a
Adds tree view for stock locations
2021-10-30 12:53:25 +11:00
Oliver
be23634c5d
Refactor display toggle for part list and part category list
2021-10-30 12:45:07 +11:00
Oliver
3bd59728db
CSS tweaks
2021-10-30 08:59:40 +11:00
Oliver
4eea8c8193
Remove old tree classes
2021-10-30 00:18:41 +11:00
Oliver
a792903a79
Catch sidebar error
2021-10-30 00:15:19 +11:00
Oliver
a15cc1f3ba
linting fixes
2021-10-30 00:07:51 +11:00
Oliver
57240865e8
More tweaking
2021-10-30 00:05:32 +11:00
Oliver
3849ea8057
Rearranging buttons
2021-10-29 23:20:09 +11:00
Oliver
c04118ed8a
Driving the refactor tractor around the farm
2021-10-29 22:20:06 +11:00
Oliver
b41d1aed12
Refactor admin button for:
...
- build order
- part detail
- stock item
- stock location
- company detail
- manufacturer-part
- purchase order
- sales order
2021-10-29 17:07:35 +11:00
Oliver
890fd0f1a0
Remove nav tree
2021-10-29 10:54:15 +11:00
Matthias Mair
6e486140c3
Merge branch 'inventree:master' into matmair/issue2181
2021-10-29 00:21:11 +02:00
Oliver
80a41affc1
More sidebar action
2021-10-29 01:20:24 +11:00
Oliver
e0d3facfac
Refactor sidebar for "stock item" page
2021-10-29 00:40:16 +11:00
Oliver
59acf45ab9
Implement sidebar for "part category" display
2021-10-29 00:29:09 +11:00
Oliver
f0fe7f2d5c
Complete refactoring of part sidebar
2021-10-29 00:20:39 +11:00
Oliver
2778ff55da
Remove btn-default
2021-10-28 19:57:17 +11:00
Oliver
f8ac016d60
replace labels with badges
2021-10-28 17:41:40 +11:00
Oliver
05d350b6c8
Tweaks for settings pages
2021-10-28 12:38:33 +11:00
Oliver
ae2c3e8293
remove "panel-inventree" references
2021-10-28 08:31:36 +11:00
Oliver
8535dd7572
part category and stock location views
2021-10-27 23:53:41 +11:00
Oliver
840187f577
refactor stock item page
2021-10-27 23:35:59 +11:00
Oliver
9d2b4af83f
Refactor part display
2021-10-27 23:29:10 +11:00
Oliver
e235e5adec
Replace "panel-body" with "panel-content"
2021-10-27 23:09:14 +11:00
Oliver
711b3ba923
remove "panel-default"
2021-10-27 23:08:15 +11:00
Oliver
fe25ce8cd1
Refactor "manufacturer_part" view
2021-10-27 22:52:11 +11:00
Oliver
a004f293ff
Replace all instances of data-toggle with data-bs-toggle
2021-10-27 22:06:30 +11:00
Oliver
e178a2c370
Refactoring for "stock" pages
2021-10-27 21:50:18 +11:00
Oliver
9df9aaa18f
breadcrumbs
2021-10-27 20:17:37 +11:00
Oliver
75845ce1ca
Merge branch 'master' into partial-shipment
2021-10-27 01:05:55 +11:00
Oliver
bff9f0828a
Adds API endpoint to allocate stock items against a SalesOrder
...
- SalesOrderAllocations are no longer created manually
- API endpoint performs data validation
- Multiple line items can be allocated at once
- Adds unit testing for new API endpoint
2021-10-26 23:51:36 +11:00
Oliver
2d910022ac
Fix for supplier price breaks
...
- Make "price" field an InvenTreeMoneySerializer instance
- Add client-side validation for number inputs
2021-10-26 01:55:41 +11:00
Matthias
7f6f22fb03
move part toggle button
...
under action buttons to save vertical space when closed
2021-10-24 00:40:23 +02:00
Matthias
d97e3cd4e5
create stock on import
2021-10-24 00:19:17 +02:00
Matthias
bec845003d
fix defaults
2021-10-23 23:57:10 +02:00
Matthias
612832c3e7
respect defaults
2021-10-23 23:48:42 +02:00
Matthias
8e6aaa89f9
calculate true / false for fields
2021-10-23 23:40:57 +02:00
Matthias
1556663254
added fields to save step
2021-10-23 23:40:29 +02:00
Matthias
71cc155dc9
Capitalize name
2021-10-23 22:50:01 +02:00
Matthias
da9d2f7467
Added missing fields
...
Fixes #2181
2021-10-23 22:49:06 +02:00
Oliver
a97a918860
cut out the fat
...
(removing dead code for outdated form views)
2021-10-17 21:46:33 +11:00
Oliver
4a6c1e850f
Cleanup unused form
2021-10-17 21:40:59 +11:00
Oliver
9b00ede61a
Add part queryset filtering to exclude particular ID values
2021-10-14 17:12:08 +11:00
Oliver
05791a8efd
Merge pull request #2138 from rocheparadox/master
...
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
Oliver
0581885ad5
Simplify BOM table buttons
2021-10-14 00:26:34 +11:00
Oliver
be5c5496b2
Improvements to allocation of stock items against build orders
...
- Refactor functions for filtering stock using bom_item pk
- Allow selection of substitute items when allocating against build order
- Improvements for modal rendering
- Don't display filter drop-down if there are no filters available
2021-10-13 23:53:35 +11:00
Oliver
c7cec13076
Bug fix
2021-10-13 23:18:44 +11:00
Oliver
f3074e8f34
Improved unit testing for BomItem
...
- tests for allowing variant parts
- tests for allowing substitutes
2021-10-13 23:18:26 +11:00
Oliver
0f8c279aa2
Add some unit testing for the new model
2021-10-13 22:27:10 +11:00
Oliver
ea4c4c514f
Add uniqueness checking for the BomItemSubstitute model
2021-10-13 22:01:32 +11:00
rocheparadox
0742fb063c
comment cleanup
2021-10-13 10:58:36 +05:30
rocheparadox
294011a973
Merge remote-tracking branch 'upstream/master'
2021-10-13 10:10:59 +05:30
Oliver
6816071388
Simplify BOM editing view
...
- A user with permission to edit BOM data can immediately access the BOM editing tools
2021-10-13 14:44:59 +11:00
Oliver
37bd5c0507
Add serializer and API endpoint for BomItemSubstitute class
2021-10-13 13:58:41 +11:00
Oliver
324ccd805d
Include BomItem substitutes in the serializer
2021-10-13 11:07:44 +11:00
Oliver
7c396f9f39
Enable optional pagination for the BomItem API endpoint
2021-10-13 11:07:34 +11:00
Oliver
a00dc9b0b1
Add migration file for new database model
2021-10-13 10:50:24 +11:00
Oliver
e20ddc289e
Merge branch 'master' into bom-substitutes
2021-10-13 10:15:03 +11:00
Oliver
4f985ae225
Revert 1fb76b9
...
Removes global functions to enable / disable entire sections of functionality
2021-10-13 09:40:17 +11:00
rocheparadox
4fddc656c4
removed unused import
...
added unit tests for PART_NAME_FORMAT
2021-10-12 19:51:21 +05:30
rocheparadox
2bf51b0ac3
Added PART_NAME_FORMAT to Inventree settings and exposed the same in settings window with a validator
2021-10-12 19:06:23 +05:30
Oliver Walters
4eb8c60ee0
Add new BomItemSubstitute model
2021-10-12 22:22:49 +11:00
rocheparadox
beadfb4659
Merge remote-tracking branch 'upstream/master'
2021-10-11 22:29:01 +05:30
rocheparadox
2d77b21a4e
PART_NAME_FORMAT is introduced to display the names of parts in custom format. - For Feature Request InvenTree#2085
...
full_name construction in part.js is obsolete/redundant since the same is constructed in backend and sent through api response
2021-10-11 22:21:12 +05:30
Oliver
19a8c712d4
Merge pull request #2017 from matmair/fr-1421-sso
...
SSO!
2021-10-11 17:20:08 +11:00
Oliver
00275d61eb
Auto-focus on the 'sub_part' field
2021-10-11 10:25:36 +11:00
Matthias Mair
848a72604e
Merge branch 'inventree:master' into fr-1421-sso
2021-10-08 22:38:16 +02:00
Oliver
07d05ed000
PEP fix
2021-10-08 12:50:24 +11:00
Oliver
d8b9420d2d
Add a query param `?include_pricing' to the BomItem API
...
- Set this to false to disable pricing info in BOM
- Drastic reduction in query speed
2021-10-08 12:47:03 +11:00
Matthias
fe7ab40b48
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso
2021-10-07 18:12:25 +02:00
Matthias
c37e40d144
use tag for testing
2021-10-07 17:31:18 +02:00
Oliver
22d3b05dc6
Fix error on BOM export
2021-10-07 11:52:41 +11:00
Oliver
bc3be635ae
Reset modal image when a new image is uploaded
2021-10-06 21:03:40 +11:00
Oliver
95e7cc7a5d
Fixes for unit tests
2021-10-06 08:56:24 +11:00
Oliver
dd4428464d
Receiving items against a purchase order now makes use of the API forms
...
- Delete old unused code
- Improve serializer validation
2021-10-05 16:05:18 +11:00
Oliver
e7d78db87b
Fixes for unit tests
2021-10-05 10:53:11 +11:00
Oliver
ae0efe73d1
Further improvements to build allocation form
...
- Auto-allocation button ignores outputs which are complete
- StockItem API allows filtering by BomItem
- Quantity inputs are now auto-filled
- Display progress bar in the modal form
2021-10-05 08:25:10 +11:00
Oliver
0c04bfaa85
Move "rebuild_thumbnails" to being a management command
...
- Does not run every time the server reboots
- Has to be called manually
- Normally does not need to be run and is a long-running process!
2021-10-05 08:05:26 +11:00
Oliver
75a35773c6
More unit tests
2021-10-04 20:44:15 +11:00
eeintech
480ff5e6cb
Hide submit button in modal when part is still active
2021-09-30 09:58:23 -04:00
eeintech
1e9ae927d4
Show part delete button when part still active
2021-09-29 11:48:27 -04:00
Oliver
e7963f8a85
test fixes
2021-09-17 21:06:07 +10:00
Oliver
11cc0c7ced
Adds a test for non-standard characters via API
2021-09-17 20:53:18 +10:00
Oliver
5bd5c61b9d
Fix callback for test template table
2021-09-14 10:43:40 +10:00
Oliver Walters
06c03039da
Add version related tags
...
- Docs URL points to correct documentation version
- Display if we are in "development" version
2021-09-12 23:13:55 +10:00
Oliver
9b001cd298
Another fix
2021-09-04 08:48:34 +10:00
Matthias
0ebc45e834
replace i html tags
2021-09-02 00:18:47 +02:00
Matthias
6a420fd95c
replace bold tags
2021-09-02 00:17:12 +02:00
Matthias Mair
2b1279e647
now with closing tags
2021-09-01 08:14:08 +02:00
Matthias Mair
5ad2eabab1
fix html templates
2021-08-31 13:17:38 +02:00
Oliver Walters
ec88415f3d
Add "units" to PartBriefSerializer
2021-08-26 21:54:25 +10:00
Oliver
7646535aaf
Hide "Sales Orders" tab if part is not salable
2021-08-24 11:48:42 +10:00
eeintech
35738ce026
Updated all 'add' buttons to 'btn-success' CSS class
2021-08-23 14:52:35 -04:00
eeintech
6f742319e5
Corrected color of 'new' orders UI button
2021-08-23 12:48:47 -04:00
Oliver
1fb76b9987
Merge pull request #1999 from matmair/turn-of-functions
...
Disable functions in navbars
2021-08-23 20:29:28 +10:00
Oliver
fd1dd792c6
Merge pull request #1957 from matmair/bpm-purchase-price
...
BOM - show purchase price
2021-08-23 11:07:30 +10:00
Matthias
9fd4b5cce3
use new setting for part-actions
...
PR complete for #1999
2021-08-22 23:36:49 +02:00
Matthias
b674d851f2
disable fucntions in master nav
2021-08-22 22:30:21 +02:00
Matthias
38af66c0de
fix linebreak in tooltip
...
found during fixing #1989
2021-08-21 00:07:45 +02:00
Matthias Mair
e24a158919
Merge branch 'inventree:master' into bpm-purchase-price
2021-08-20 00:42:50 +02:00
Matthias
cb1e7a6cc5
only process purchase_price if prices present
2021-08-19 23:22:58 +02:00
eeintech
ec7392303d
Fixed company templates
2021-08-19 10:47:46 -04:00
Guusggg
d8eefec065
Print multi part label ( #1963 )
...
* Added description as list for StockLocation
* Merge pull request #1874 from SchrodingersGat/docker-dev-fix
Copy static files when starting dev server
(cherry picked from commit 50eb70f538
)
* Merge pull request #1877 from eeintech/fix_search_js
Fixed missing comma propagating to translated JS files
(cherry picked from commit 2009773d9d
)
* Merge pull request #1890 from matmair/fix-for-1888
catch connection errors in exchange update
(cherry picked from commit db57e9516b
)
* Merge pull request #1887 from matmair/settings-safety
settings fixes
(cherry picked from commit d154ca08ea
)
* 0.4.2
* Merge pull request #1894 from SchrodingersGat/non-int-serial-fix
Fix for non-integer serial numbers
(cherry picked from commit 529742b520
)
* 0.4.4
Bump release version
* Bump version number -> 0.4.5
* Added a simple menu item to print multiple part labels. This does not follow the style of the Stock label functions but it works!
* Revert "Added description as list for StockLocation"
This reverts commit f5178e9fc3
.
* Added the right version number
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2021-08-17 12:42:40 +10:00
eeintech
99839e78fd
Added navbar on part import page
2021-08-16 10:21:57 -04:00
Oliver
ff8dcabb12
New custom serializer for handling attachments
2021-08-15 22:43:52 +10:00
Oliver
8861ffad81
PEP fixes
2021-08-15 12:06:31 +10:00
Oliver
cef09acd54
Partial reversion of some stuff
2021-08-15 12:05:53 +10:00
Oliver
faab1f2464
Provide global_settings and user_settings as context objects
...
- Adds a new context middleware
- Refactor the way that settings are provided to the javascript layer
2021-08-15 11:57:05 +10:00
Oliver
2b13512145
Check that supplier and manufacturer parts are created
2021-08-14 10:43:45 +10:00
Oliver
6fa4e33062
Unit testing for new API form features
2021-08-14 10:39:05 +10:00
Oliver
26c07961cb
Bug fix for API
2021-08-14 10:23:57 +10:00
Matthias
00d4efb920
PEP fix
2021-08-13 17:54:17 +02:00
Matthias
f0325fe30f
view BOMpricing range
...
Closes #1889
2021-08-13 17:50:41 +02:00
Matthias
a2ffd06abf
calculate purchase price for part
2021-08-13 17:49:58 +02:00
Oliver Walters
ba1ba67f87
Only add company data if part is purchaseable
2021-08-14 00:46:30 +10:00
Oliver Walters
78340a71a9
Adds support for creation of ManufacturerPart and SupplierPart via the Part creation API
2021-08-14 00:38:08 +10:00
Oliver Walters
cb11df4dba
Improve error checking for initial stock creation when creating a new part
...
- Use @transaction.atomic
- Raise proper field errors
2021-08-14 00:09:08 +10:00
Oliver Walters
5b42ab7332
Add "groups" to API forms
2021-08-13 21:48:48 +10:00
Oliver
26ddd36666
PEP fixes
2021-08-12 23:47:42 +10:00
Oliver
537573d0e3
Add extra unit testing for BOM export
2021-08-12 23:40:07 +10:00
Oliver
46fa60953d
Refactor part page
2021-08-11 00:12:55 +10:00
Oliver
6620d34f25
Merge pull request #1913 from eeintech/bom_upload
...
BOM upload templates fixes
2021-08-10 09:11:25 +10:00
Matthias
ad656b7ca7
extending API to supply price wihtout formatting
2021-08-09 01:49:55 +02:00
Oliver
5448165ef3
Merge pull request #1920 from SchrodingersGat/label-print-options
...
Label print options
2021-08-07 22:27:34 +10:00
Oliver Walters
ca9536f687
Implement option to display labels "inline" in the browser
2021-08-07 22:09:15 +10:00
Oliver Walters
24638a7229
Add migration file
2021-08-07 21:41:45 +10:00
Oliver Walters
6d42cfab75
Add model validator to prevent illegal names for PartParameterTemplate
...
(cherry picked from commit 93805a87e0
)
2021-08-07 21:23:52 +10:00
eeintech
6280ed1ade
Moved enableNavbar to part_base template
2021-08-06 11:15:16 -04:00
eeintech
1eb8a9f310
BOM upload templates fixes
2021-08-05 17:39:08 -04:00
Matthias Mair
96378cb556
Merge branch 'inventree:master' into trans-improv
2021-08-05 08:17:21 +02:00
Matthias
d6c6cb96ba
make keyvalue non-existing key tolerant
2021-08-05 01:24:49 +02:00
Oliver Walters
c7712d4235
even more unit tests
2021-08-05 01:13:48 +10:00
Oliver Walters
655e5692e9
More unit test fixes
2021-08-05 00:58:07 +10:00
Oliver Walters
6acff2a26e
Fixes unit test
2021-08-05 00:40:02 +10:00
Oliver Walters
aaf394ca7a
PEP fixes
2021-08-05 00:26:21 +10:00
Oliver Walters
dd78464a74
remove unused function
2021-08-05 00:25:47 +10:00
Oliver Walters
aa4ed9feb0
Refactor MakeVariant form
...
- Now is essentially identical to the DuplicatePart form
- Uses the API form structure
2021-08-05 00:24:38 +10:00
Oliver Walters
0e8fb6a5ad
Refactored DuplicatePart form
...
- API endpoint now takes care of duplication of other data
2021-08-05 00:16:42 +10:00
Oliver Walters
b04f22fc53
CreatePart form now uses the API
...
- Simplify the way category parameter templates are copied
2021-08-04 23:27:16 +10:00
Oliver Walters
2bf3e3ab02
Function to construct part form fields
2021-08-04 23:26:17 +10:00
Oliver Walters
2e8a490ca9
Fixes for unit tests
2021-08-04 17:41:47 +10:00
Oliver Walters
75a1be0284
Use API forms for creating and editing BomItem objects
2021-08-04 17:25:51 +10:00
Oliver
7911801dbf
Merge pull request #1900 from SchrodingersGat/part-image-search
...
Make the part thumbnail selection window searchable
2021-08-04 12:28:52 +10:00
Oliver
56c0e289bd
Style fix
2021-08-04 12:13:24 +10:00
Oliver
f95346f214
Make the part thumbnail selection window searchable
2021-08-04 12:10:49 +10:00
Oliver
989983bdb5
Fixed missing import
2021-08-04 11:37:59 +10:00
Oliver
83d8226ad6
Refactor "CreatePartCategory" form to API
...
(cherry picked from commit 06ff961564
)
2021-08-04 11:34:42 +10:00
Oliver
8daf601f00
Merge pull request #1897 from matmair/price-terms
...
updating language to be clearer
2021-08-04 09:03:13 +10:00
Matthias
fa3c5ae108
updating language to be clearer
...
see https://github.com/inventree/InvenTree/issues/1889#issuecomment-891901070
2021-08-04 00:45:56 +02:00
eeintech
29c8daed0a
'has_ipn' filter method did not return queryset
2021-08-03 12:21:44 -04:00
eeintech
634e5e0da6
Added toggle for part details
...
Added persistence for page refresh or new part page
2021-07-30 14:55:12 -04:00
eeintech
20b21a2b71
Merge branch 'master' of github.com:inventree/InvenTree into part_main_details
2021-07-30 10:50:28 -04:00
Oliver
4381a16b0e
Template cleanup
2021-07-29 12:31:07 +10:00
Oliver
27ec65a002
Add 'settings.js' which provides all settings (global and user) as a dynamic javascript file
...
- Minimal database hits required
2021-07-29 11:28:04 +10:00
Oliver
cd1ecc5e8f
style fixes
2021-07-28 14:17:25 +10:00
Oliver
25ff74835d
Refactor PartCategoryParameter API
2021-07-28 14:05:49 +10:00
Oliver
7fdc0546b4
Merge remote-tracking branch 'inventree/master' into settings-refactor
2021-07-27 14:28:17 +10:00
Oliver
c63a061cf3
Refactor "theme" selection
2021-07-27 08:31:43 +10:00
Oliver
57551d3ac3
inventreeDelete was not returning the promise
2021-07-27 08:17:53 +10:00
Oliver
0186d23563
inline theme form
2021-07-27 07:56:24 +10:00
eeintech
a6b52a9fae
Fix for #1861
2021-07-26 17:02:04 -04:00
eeintech
f61c768bbe
Merge branch 'master' of github.com:inventree/InvenTree into part_main_details
2021-07-26 13:59:15 -04:00
Matthias
431b35ed32
new tag for building lists
2021-07-24 00:42:17 +02:00
Matthias
e167f27258
get user settings in templates
2021-07-23 00:46:48 +02:00
Matthias
50356afd41
Merge branch 'master' of https://github.com/inventree/InvenTree into homepage-settings
2021-07-23 00:03:21 +02:00
Matthias
3f6c7df7a8
change template setting behaviour for user setting
2021-07-22 23:48:28 +02:00
Oliver
afde997cf9
Expose part parameters to Part label templates
2021-07-21 22:05:52 +10:00
Oliver
9cf372f633
PEP fixes
2021-07-21 21:24:18 +10:00
Oliver
85a40ec418
Tree exclusion for PartCategory and StockLocation
2021-07-21 21:23:30 +10:00
Oliver
bee0a519ef
Allow filtering of PartList by exclude_tree
2021-07-21 21:18:01 +10:00
Oliver
df48df8119
Catch recursive tree error for part / variant relationship
2021-07-21 21:10:31 +10:00
Oliver
dad9239a1c
Add instance-specific filters to API OPTIONS data
2021-07-21 20:59:55 +10:00
Oliver
598ea11211
Add manager class for StockItem
2021-07-21 09:28:58 +10:00
Oliver
5e2145e151
Bug fix - delete line which don't belong no more
2021-07-20 22:26:43 +10:00
Oliver
b04a403081
subclass TreeManager
2021-07-20 22:15:49 +10:00
Oliver
cb0b7209ec
Add custom "list" function back in
...
- Actually does make a significant difference to query speed
2021-07-20 22:12:01 +10:00
Oliver
4199e7567f
Remove duplicate annotation call
2021-07-20 21:46:27 +10:00
Oliver
dbe550a159
Optimizations for PartList API endpoint:
...
- Remove custom list() function
- Queryset prefetch now performed by the model manager
2021-07-20 21:37:32 +10:00
Oliver
84fc2785d6
Create a custom Manager class for the Part model
...
- Always perform prefetch_related calls
2021-07-20 21:26:51 +10:00
Matthias Mair
c2ce569506
Merge branch 'inventree:master' into bom-internal
2021-07-19 21:51:18 +02:00
Matthias
8d2e910323
style fix
2021-07-19 21:50:06 +02:00
eeintech
2703ae520e
Merge branch 'master' of github.com:inventree/InvenTree into part_main_details
2021-07-19 09:20:06 -04:00
Oliver
efb4f194b6
Refactor StockExportOptions form
2021-07-19 17:23:18 +10:00
Oliver
40c203c123
Ensure BOM pricing table is loaded
2021-07-19 14:40:02 +10:00
Oliver
bbada3e873
Fix duplicate table naming
2021-07-19 14:34:58 +10:00
Oliver
fa9ef02d23
Merge pull request #1836 from SchrodingersGat/supplier-part-forms
...
Supplier part forms
2021-07-19 11:17:45 +10:00