Oliver
9e1251d78d
Adds "assigned_to_me" filtering to build orders
2021-12-04 21:30:11 +11:00
Oliver
cdf63c43aa
Add autocomplete fields to admin views for "build" app
2021-12-04 20:17:36 +11:00
Oliver
e83b5f9db0
Add autocomplete admin fields for "part" app
2021-12-04 20:01:56 +11:00
Matthias
e25759c1ac
check message counters too
2021-12-04 04:08:11 +01:00
Matthias
d8ca87057b
cover another line
2021-12-04 04:07:47 +01:00
Matthias
733fc4b718
forgot that before
2021-12-04 03:46:35 +01:00
Matthias
c10841fe0e
and again
2021-12-04 03:44:59 +01:00
Matthias
1ba7110cda
change templates to new way
2021-12-04 02:19:12 +01:00
Oliver
35b3bc73cc
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/order/api.py
2021-12-04 09:35:54 +11:00
Oliver
6d90ded27f
First pass at a part-purchase-order table
2021-12-03 20:54:21 +11:00
Matthias
f4f390f4c2
PEP fix
2021-12-03 01:58:27 +01:00
Matthias
ae13672273
refactor to enable use in notification tests
2021-12-02 10:52:21 +01:00
Oliver
6ec0cfc641
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/company/templates/company/company_base.html
# InvenTree/stock/templates/stock/item_base.html
2021-12-02 20:49:13 +11:00
Matthias
84499f4b10
better description
2021-12-02 10:22:39 +01:00
Matthias
0379498ee3
merge master in
2021-12-02 09:17:57 +01:00
Oliver
8c6b82d2c0
Merge pull request #2405 from SchrodingersGat/jump-to-sn
...
Jump to sn
2021-12-02 16:26:21 +11:00
Oliver
e96ff7fbba
Add lookup-by-sn on part page, too
2021-12-02 16:01:28 +11:00
Matthias
2038c2250d
fix notify_low_stock context
2021-12-02 02:42:57 +01:00
Matthias
55a8536636
fix case
2021-12-02 02:35:10 +01:00
Matthias
ea5848d174
add mailadress to user
2021-12-02 02:34:45 +01:00
Matthias
7974559ead
add tests for testing notifications
2021-12-02 02:24:33 +01:00
Matthias
3bff676047
beginner mistake
...
it is a referenced part so use related_name as prefix
2021-12-02 00:24:36 +01:00
Matthias
25a76d37e7
and PEP again
2021-12-02 00:11:02 +01:00
Matthias
61b53a10b0
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279
2021-12-01 23:59:22 +01:00
Matthias
95fa34f797
search by MPN
...
Fixes #2403
2021-12-01 23:56:31 +01:00
Matthias
64c01bff82
refactor to use general function
2021-12-01 22:26:43 +01:00
Oliver
a6fe5e0d80
Merge pull request #2388 from SchrodingersGat/part-details-refactor
...
Part details refactor
2021-12-01 08:47:29 +11:00
Oliver
713549fe6a
Handle case where issue_date is not set
2021-12-01 08:14:49 +11:00
Oliver
a2a436ea69
Column improvements
2021-12-01 08:05:30 +11:00
Oliver
64abe1e889
Refactoring "company" view
2021-11-30 20:31:05 +11:00
Oliver
440436c70d
Refactor display for "part category"
2021-11-30 20:00:26 +11:00
Oliver
5049f17d0b
Save toggle state to session
2021-11-30 19:49:04 +11:00
Oliver
a2d912d374
Bootstrappy collapse
2021-11-30 19:45:37 +11:00
Oliver
b34b3c6d85
Place part details below main part display tab
2021-11-30 19:38:48 +11:00
Oliver
da6c723184
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/order/serializers.py
2021-11-29 22:59:36 +11:00
Oliver
4ee55847f1
Refactor attachment tables
2021-11-28 14:21:20 +11:00
Oliver
0949bac175
serializer fixes
2021-11-28 14:21:09 +11:00
Oliver
6582fd3d04
Add 'link' field to attachment serializer
2021-11-28 12:57:37 +11:00
Oliver
e9ed7bffc9
adds a "link" field to the InvenTree attachment model
...
- Allows attachments to also serve as links to external files
2021-11-28 12:53:01 +11:00
Oliver
ef7a9b5152
Adds a simple endpoint for accessing serial number information for a Part instance
...
- This is not included by default in the "part detail" endpoint as it must be calculated!
2021-11-27 00:11:18 +11:00
Oliver
760c80dbb6
Merge remote-tracking branch 'inventree/master' into partial-shipment
2021-11-26 22:08:17 +11:00
Oliver
2b704ccdc0
Exclude same part from "related" input
2021-11-26 21:09:29 +11:00
Oliver
68e2b0850b
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/build/serializers.py
# InvenTree/order/templates/order/so_sidebar.html
2021-11-26 08:25:51 +11:00
Oliver
4a90786296
PEP code style fixes
2021-11-25 14:55:24 +11:00
Oliver
e6dfe27c57
Add a "related parts table" function
2021-11-25 14:54:21 +11:00
Oliver
9e01bc8ff2
Bug fix for serializer detail
2021-11-25 14:45:28 +11:00
Oliver
88df774aef
Add part detail filter to PartRelated serializer
2021-11-25 14:42:44 +11:00
Oliver
4704845a7b
Add filter for "relatedpart" API endpoint
2021-11-25 14:42:31 +11:00
Oliver
68f7887379
Related parts are now created via the API
2021-11-25 14:23:27 +11:00
Oliver
2065c05519
Adds API endpoints and serializers
2021-11-25 14:18:21 +11:00
Oliver
a532babde8
Related part table now uses "loadPartTable" function call
2021-11-25 14:13:49 +11:00
Oliver
b497569228
Add Part list API filter for "related" status
...
- Adds "related" filter
- Adds "exclude_related" filter
2021-11-25 14:00:04 +11:00
Oliver
28dc417a9f
Add unit testing for 'validated' filter
2021-11-24 10:52:20 +11:00
Oliver
568e606d5b
Fix filtering by 'validated' parameter
2021-11-24 10:45:48 +11:00
Oliver
c04ea3e0bb
Adds unit test for "validated" filter option on BomItem list
2021-11-24 10:41:19 +11:00
Oliver
e53e3b4a51
Merge pull request #2350 from matmair/matmair/issue2347
...
Fix sidebar translation
2021-11-23 12:57:11 +11:00
Matthias
d884e62be1
[FR] Confirm to W293
...
Fixes #2335
2021-11-23 00:28:23 +01:00
Matthias
d79e9a62b4
fix trans tags
2021-11-22 23:42:29 +01:00
Matthias
c20afad84d
replace sidebar_links
2021-11-22 20:40:01 +01:00
Matthias
933c420844
fix sidebar translation
...
Fixes #2347
2021-11-22 20:24:22 +01:00
Oliver
32a8d247e2
Fix for BomItem import in admin page
2021-11-21 22:12:58 +11:00
Oliver
6a6eae7e54
Bug fix for BOM uploading
...
(cherry picked from commit 2e04b311306259e0ead07de9e08b3ba376caf4e4)
2021-11-20 18:10:51 +11:00
Oliver
f8aa5514ae
Fix BOM export for multi-level BOMs
2021-11-20 17:44:54 +11:00
Oliver
521ec4f1e6
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/order/serializers.py
2021-11-18 23:43:36 +11:00
Oliver
7d80387f3c
Merge pull request #2329 from SchrodingersGat/bom-quantity-fix
...
Bom quantity fix
2021-11-18 23:24:44 +11:00
Oliver
7ca36a092e
convert remaining serializers
2021-11-18 23:01:19 +11:00
Oliver
c3fb6a6861
Convert BOM quantity field to new field class
2021-11-18 22:50:37 +11:00
Oliver
b726df3a5e
style fixes
2021-11-18 20:57:44 +11:00
Oliver
1f5e4a1e6b
Adds a template tag for testing if the server is running in demo mode
2021-11-18 20:17:27 +11:00
Oliver
5e04f2acf3
Merge remote-tracking branch 'inventree/master' into partial-shipment
2021-11-17 20:53:26 +11:00
Oliver
9614963f16
Put function into migration file
2021-11-17 08:58:32 +11:00
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