Oliver Walters
51a33e5dca
Add setting to enable / disable barcode support
...
(Default = True)
2021-01-28 20:18:03 +11:00
Oliver Walters
69362ab960
Display link column in part table
2021-01-20 18:04:08 +11:00
Oliver Walters
436207b315
Merge remote-tracking branch 'inventree/master' into batch-reports
...
# Conflicts:
# InvenTree/templates/stock_table.html
2021-01-18 23:23:58 +11:00
Oliver Walters
526d81481b
Cleanup
2021-01-18 22:25:53 +11:00
Oliver Walters
697a338700
Add a smattering of unit tests
2021-01-18 22:14:38 +11:00
Oliver Walters
6a7c722efc
Stock table button cleanup
2021-01-18 21:52:20 +11:00
Oliver Walters
952da19600
Print test report for multiple stock items at once
2021-01-18 21:42:55 +11:00
Oliver Walters
ef7cc3f78d
Replace existing django form views with API request
2021-01-18 21:33:15 +11:00
eeintech
72c7ceb553
Merged master and updated stock_table.html
2021-01-17 13:11:59 -05:00
Oliver Walters
ef3ac43c4a
Add "last updated" date to stock table
2021-01-15 15:27:40 +11:00
eeintech
7d5571ba5b
Merged changes from master
2021-01-14 08:52:56 -05:00
Oliver Walters
0134597747
Merge remote-tracking branch 'inventree/master' into label-api
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
2021-01-14 23:56:23 +11:00
Oliver Walters
75e1442fce
Display overdue purchase orders on the index page
2021-01-14 17:48:16 +11:00
Oliver Walters
a8e6d0a89f
Display overdue status in purchase order table
...
- Allow table to be filtered by "overdue" status
2021-01-14 17:37:10 +11:00
Oliver Walters
1dc2636e45
Add option to show part quantity in various forms
...
Enabling this option can make BOM item forms *very* slow!
2021-01-14 15:20:42 +11:00
Oliver
76c938762c
Merge pull request #1228 from SchrodingersGat/stock-status-ste
...
Stock status ste
2021-01-14 14:24:47 +11:00
Oliver Walters
bb9fe98a7e
Set status for multiple stock items at once
2021-01-14 14:04:24 +11:00
Oliver Walters
aac835f634
Add menu item to set stock status for multiple items
2021-01-14 13:41:38 +11:00
Oliver Walters
d459947949
Add "Can Build" column in BOM view
2021-01-14 13:34:51 +11:00
Oliver Walters
df327d4e64
Add stocktake_date field to stock API, and to stock table
2021-01-14 11:29:35 +11:00
eeintech
b6135fda74
Updated templates and a lot of manual testing
2021-01-12 13:16:04 -05:00
Oliver Walters
d91700fd39
StockLocation labels are now printable
2021-01-11 18:41:57 +11:00
Oliver Walters
af47b211fd
Add dialog for selection of stock location labels
2021-01-11 17:22:04 +11:00
Oliver Walters
e133fff03e
Download PDF for labels
2021-01-09 21:50:42 +11:00
Oliver Walters
bdc7367e29
Add endpoint for printing labels
2021-01-09 20:43:48 +11:00
eeintech
f26f1c38a2
Merged master
2021-01-07 13:50:29 -05:00
Oliver Walters
76c86e7b2f
Calendar view for purchase orders
2021-01-07 23:04:00 +11:00
Oliver Walters
b4277e09e8
Add fullcalendar javascript library
2021-01-07 14:21:32 +11:00
Oliver Walters
1d6a049c5a
Annotate stock queryset with stale status
2021-01-06 23:06:49 +11:00
Oliver Walters
a5b18640af
Display stale stock on index page
2021-01-06 22:30:12 +11:00
Oliver Walters
ba915da22b
Filter StockItem API by staleness
2021-01-06 22:20:54 +11:00
Oliver Walters
580e7599a0
Prevent expired stock from being added to a sales order
2021-01-06 20:22:56 +11:00
Oliver Walters
9b086560cb
Hide "expiry_date" column in Stock table if feature not enabled
2021-01-06 12:09:48 +11:00
Oliver Walters
d0fb69e67d
Add option to enable / disable stock expiry feature
...
- Simply hides fields in form views
2021-01-05 08:50:07 +11:00
Oliver Walters
1335c85de1
Edit new stock settings on settings page
2021-01-05 00:59:10 +11:00
Oliver Walters
e715ea5d79
Merge remote-tracking branch 'inventree/master' into stock-expiry
...
# Conflicts:
# InvenTree/common/models.py
2021-01-05 00:58:32 +11:00
Oliver Walters
9a30108b75
Auto-update the expiry date in the StockItem form when switching Part selection
2021-01-05 00:37:42 +11:00
Oliver Walters
692cee113c
Display "expiry date" column in stock table
2021-01-04 23:11:35 +11:00
Oliver Walters
4d7c60a130
Add "expired stock" table to index page
2021-01-04 09:46:14 +11:00
Oliver Walters
a0c95579b4
Display expiry status on StockItem page
...
- Also adds ability to filter Stock table by expired status
2021-01-04 00:21:47 +11:00
Oliver Walters
b05504e1c4
Add PART_VIRTUAL setting
2021-01-03 23:13:58 +11:00
Oliver Walters
9fa37a9156
Improve visualisation of global settings
2021-01-03 22:57:39 +11:00
Oliver Walters
fe0d356675
pops the purchase_price field instead of using a HiddenInput
...
Using a HiddenInput on a MoneyFormField causes a validation error, for some reason...
2021-01-03 13:13:14 +11:00
eeintech
3ff76fbdab
Merging master and resolved conflict
2020-12-18 17:08:37 -05:00
Oliver Walters
8e13a7b470
Add "overdue sales orders" to index page
2020-12-18 12:45:42 +11:00
Oliver Walters
c34196538b
Filter API by overdue status
2020-12-18 12:40:47 +11:00
Oliver Walters
b21c6f0b99
Add overdue filter for salesorder table
2020-12-18 12:27:08 +11:00
Oliver Walters
c6134b54ab
Add "overdue" status to SalesOrder serializer
2020-12-18 12:26:58 +11:00
eeintech
bcae1d09a8
Fixed category parameter templates settings view
2020-12-17 17:25:10 -05:00
Oliver
7df25df2af
Merge pull request #1168 from SchrodingersGat/order-date
...
Build Order Target Date
2020-12-16 19:36:10 +11:00
Oliver Walters
6ef4325eac
Javascript formatting
2020-12-16 15:55:42 +11:00
Oliver Walters
1a07ae0936
Render link rather than just text
2020-12-16 15:48:41 +11:00
Oliver Walters
17d23fa47c
Add overdue builds to the index page
2020-12-15 23:34:28 +11:00
Oliver Walters
c8c50af54b
Filter builds by "overdue" status
2020-12-15 23:31:19 +11:00
Oliver Walters
f11348c965
Improve rendering for login page
2020-12-15 22:39:57 +11:00
eeintech
de1dfdcc38
Improved naming of new setting and variables
2020-12-02 13:38:53 -05:00
eeintech
c66ac2579e
Updated StockItem create/edit view with ownership control
2020-12-02 13:25:33 -05:00
eeintech
8dac6bb982
Updated template stock item logic and added to stock locations
2020-12-01 17:41:03 -05:00
eeintech
2c38be2d13
Added global setting and updated stock item templates
2020-12-01 15:54:05 -05:00
Oliver
a5e6ac2300
Merge pull request #1148 from SchrodingersGat/order-parts
...
Order parts
2020-11-27 12:28:04 +11:00
Oliver Walters
6c68197e61
Allow part ordering from build view
2020-11-27 11:18:58 +11:00
Oliver Walters
7068f70811
Fixes for 'order parts' form
...
- Sometimes the part pk was not being retrieved properly
2020-11-27 11:18:45 +11:00
Oliver Walters
56f05e2604
Fixes for 'non field' errors in forms
...
- Fixes issue where non-model fields would not show error text
2020-11-27 10:42:01 +11:00
Oliver Walters
083d7671d0
Bug fix for BOM table
...
If the BOM for part included a BomItem with the same PK as the top-level part,
the bootstrap-tree-grid library borked
Probably for good reason, too!
So we now ensure that the top-level key is unique
2020-11-24 21:19:19 +11:00
Oliver Walters
e3231bbedb
Hide "pricing" information in the BOM table
2020-11-24 20:58:18 +11:00
Oliver Walters
4049c8e915
Adds framework for "server health" display
...
- Adds global context object "system_healthy" (boolean)
- Framework for running system health checks
- Updated system info forms
- Displays warning next to user menu if system health errors exist
(cherry picked from commit ce6d626ab39147fc389de90815ca8baae2385d82)
2020-11-19 12:36:54 +11:00
Oliver Walters
24fd520ec3
Smallt tweaks for the Stock table
2020-11-18 15:03:51 +11:00
Oliver Walters
534f43872f
Bug fix for SupplierPart table
2020-11-12 20:14:10 +11:00
Oliver Walters
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
Oliver Walters
b7187c5e06
Fixes for purchase order table displays
2020-11-12 12:27:01 +11:00
Francois
a7444a9926
Merge branch 'master' into categories_parameters
2020-11-11 06:40:11 -05:00
Oliver Walters
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
Oliver Walters
978fd7c683
Implement default currency selection
...
- Add 'choices' option to InvenTreeSetting class
- Add support for ChoiceField in InvenTreeSetting form
2020-11-10 17:08:08 +11:00
Oliver Walters
a6028f027a
Add setting to allow or prohibit duplicate IPN values
2020-11-10 09:03:26 +11:00
Oliver Walters
c95f124578
Add some helper magic for setting objects
...
- If the setting is defined as a "bool" then the returned value is automatically cast to a bool
- Add some more unit testing
2020-11-09 23:44:54 +11:00
Oliver Walters
8149759852
Add some more part options which set the default values for the following fields:
...
- Purchaseable
- Salable
- Trackable
2020-11-09 20:26:19 +11:00
eeintech
1c14c2237a
Moved category templates processing to Part save() method
2020-11-04 09:52:26 -05:00
eeintech
72b5a105f8
Made all categories accessible for parameter templates configuration
2020-11-03 14:45:53 -05:00
Francois
b1885138de
Merge branch 'master' into categories_parameters
2020-11-03 07:01:56 -05:00
Oliver Walters
ac03dab8de
Tweaks
2020-11-03 20:37:33 +11:00
Oliver Walters
b936f67d87
Various form fixes
...
- Updating forms, a lot has changed!
2020-11-03 16:21:40 +11:00
Oliver Walters
152801f06f
Dramatic speed improvements for build completion
...
- Might still need to be a background task at some point..
2020-11-03 15:56:20 +11:00
Oliver Walters
3f03adba72
Bug fix for stock table
...
- Grouped rows were not displaying the part name
2020-11-03 15:05:13 +11:00
eeintech
34b784d1e4
Added setting, checkbox (PartCreateView only) and hook to create part parameters from category templates
2020-11-02 13:14:31 -05:00
Oliver Walters
05613b9642
Further build tweaks / improvements
2020-11-02 23:47:36 +11:00
Oliver Walters
500da8099b
Add forms / views for creating a new build output, and completing the build
...
- Also some refactoring of how forms are handled and saved
2020-11-02 22:56:26 +11:00
Oliver Walters
b02c87ea50
Lots of work towards multiple build output
2020-11-02 01:24:31 +11:00
eeintech
3a347fba21
Added edit/delete for category parameter templates
2020-10-31 12:55:52 -05:00
eeintech
2a563d7370
Added category list of parameter templates table to settings
2020-10-31 09:18:33 -05:00
eeintech
3e5d8d2b2d
Added form to select category in settings and update context data
2020-10-31 08:35:47 -05:00
eeintech
5310ce8465
First step into managing Category Parameters to InvenTree settings
2020-10-30 17:17:18 -05:00
Oliver Walters
3a702266e6
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/InvenTree/views.py
# InvenTree/build/views.py
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/order/views.py
# InvenTree/part/api.py
# InvenTree/part/views.py
# InvenTree/templates/js/bom.js
2020-10-30 22:44:25 +11:00
Oliver Walters
cabbdbb5cf
Fixed a typo in bom.js
2020-10-30 15:53:13 +11:00
Oliver Walters
2428e77969
Add filtering for BOM table
2020-10-30 11:45:54 +11:00
Oliver Walters
90cfb3496a
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.mo
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/templates/js/bom.js
2020-10-29 15:23:51 +11:00
Oliver Walters
f1a7ac3187
Add icon badges to bom.js
2020-10-29 13:26:32 +11:00
Oliver Walters
fda0bff14c
Tweaks to part.js
2020-10-29 13:20:42 +11:00
Oliver Walters
8246e9c802
Add function makeIconBadge for tables
...
- Add filters for part variants table
2020-10-29 13:18:45 +11:00
Oliver Walters
b3ac261746
Add filter for supplier part table:
...
Filter by "active" status
2020-10-29 12:50:17 +11:00
Oliver Walters
05ce17f8df
Tweaks
2020-10-29 09:45:42 +11:00
Oliver Walters
a263d2fdcd
Fixes for "auto allocate" concept
2020-10-29 00:49:01 +11:00
Oliver Walters
551064b3a4
Bugfix: BOM API now works slightly differently
2020-10-29 00:07:51 +11:00
Oliver Walters
544b63cac5
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
2020-10-29 00:01:10 +11:00
Oliver Walters
d8ada930c8
More template updates
...
- Add icons to more action buttons
2020-10-28 22:37:58 +11:00
Oliver Walters
d06b4d7c9f
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/InvenTree/urls.py
# InvenTree/locale/de/LC_MESSAGES/django.mo
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/part/templates/part/bom.html
# InvenTree/templates/js/build.js
# InvenTree/templates/js/table_filters.js
# InvenTree/templates/stock_table.html
# tasks.py
2020-10-28 22:25:14 +11:00
Oliver Walters
d0b7d91ca4
Update multiple templates with fontawesome icons
2020-10-28 18:30:38 +11:00
Oliver Walters
5e70d8df7e
Rename javascript files from .html to .js
2020-10-28 18:13:02 +11:00
Oliver Walters
c63480c65b
Improve table for displaying what parts a particular part is "used in"
2020-10-28 18:12:38 +11:00
Oliver Walters
4055a36db2
Updated modal forms
2020-10-27 22:29:34 +11:00
Oliver Walters
646fe40950
Require either serial or batch number to be set for trackable part
2020-10-27 22:00:38 +11:00
Oliver Walters
54d5d2899e
Update javascript callbacks
2020-10-27 21:47:24 +11:00
Oliver Walters
06a3899325
Disable "unallocate" button if there are not any allocations
2020-10-27 09:26:16 +11:00
Oliver Walters
b5e1d3f87a
Sorter fixes
2020-10-27 08:58:29 +11:00
Oliver Walters
d8a0ab8879
Fix for build table
2020-10-26 22:44:24 +11:00
Oliver Walters
a4f6efc05d
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/templates/js/build.html
2020-10-26 22:38:43 +11:00
Oliver Walters
b38fde85f2
Added some more buttons, etc
2020-10-26 22:34:40 +11:00
Oliver Walters
5e0d1fe25a
Allocate "non tracked" parts separately from tracked ones
2020-10-26 18:21:45 +11:00
Oliver Walters
664dd0000c
Add database table for storing file attachments against a BuildOrder
2020-10-26 15:21:03 +11:00
Oliver Walters
8f108d42d2
Add ability to filter BOM status by "validated" field
2020-10-26 14:43:43 +11:00
Oliver Walters
24ab48ef4c
Filter BOM table by "trackable" status
2020-10-26 13:53:34 +11:00
Oliver Walters
1a4eb3f870
Display which parts are "trackable" in a BOM table
2020-10-26 13:24:17 +11:00
Oliver Walters
549f50ac3f
Update translations
2020-10-25 21:54:53 +11:00
Oliver Walters
7d95faa4f5
Cleanup code
2020-10-25 21:43:33 +11:00
Oliver Walters
432ecc1d96
Display boolean values as checkboxes
2020-10-25 21:33:13 +11:00
Oliver Walters
4d96b385b1
Add page for global settings
2020-10-25 08:17:41 +11:00
Oliver Walters
3e17bf3316
Edit setting directly
2020-10-25 08:02:46 +11:00
Oliver Walters
10758a9626
Improvements for global settings
...
- Name and description are defined in models.py
- Lookup functions for name / description / units / default
- Shortcut template for rending settings
- More unit testing
2020-10-25 07:49:38 +11:00
Oliver Walters
c63a09330f
Hide some buttons if row is fully allocated already
2020-10-24 22:05:19 +11:00
Oliver Walters
42c1210fba
Calculate required build quantity
2020-10-24 13:16:43 +11:00
Oliver Walters
a3265ef9fd
Unallocate stock against a particular line item
2020-10-24 13:15:13 +11:00
Oliver Walters
b7e7543be6
Add some more buttons to build table
2020-10-24 12:59:05 +11:00
Oliver Walters
b45a11aa3d
Refactor: Add "makeIconBadge" javascript function
2020-10-24 00:33:30 +11:00
Oliver Walters
ea7b1b65d6
Delete a build output entirely
...
TODO: Needs to describe in the confirmation dialog what is going to happen!
2020-10-24 00:14:27 +11:00
Oliver Walters
a71a51b848
Build can be "unallocated" against a single build output
2020-10-23 23:52:59 +11:00
Oliver Walters
5db043ab4b
Launch modal dialog to auto-allocate against a specific build output
2020-10-23 01:05:59 +11:00
Oliver Walters
f4f6253178
Better table sorting for allocation quantity
2020-10-23 00:58:35 +11:00
Oliver Walters
33c454ed5a
Add action buttons to each build output
2020-10-23 00:51:01 +11:00
Oliver Walters
6245d65ebc
Tweaks
2020-10-23 00:08:40 +11:00
Oliver Walters
23ac83d2a8
Change extension on "dynamic" js files
...
- Yay, the editor now highlights code properly!
2020-10-22 23:59:21 +11:00
Oliver Walters
ae20db0ec6
Add actions for the sub-table allocation list
2020-10-22 23:57:07 +11:00
Oliver Walters
fae516b38e
Add build output selection to builditem creation form
2020-10-22 23:28:15 +11:00
Oliver Walters
1ca08f8bff
Filter builditem API by 'output' stock item
2020-10-22 21:43:53 +11:00
Oliver Walters
f989d3b3ec
Change to using spinner icon
2020-10-21 17:02:04 +11:00
Oliver Walters
96277edcf1
Improvements to progress bar function
2020-10-21 00:49:17 +11:00
Oliver Walters
fd6d630037
Improve grouping in Stock table
2020-10-20 23:45:36 +11:00
Oliver Walters
652c2dbcbe
Automagically disable 'serial_numbers' field for StockItemCreate form
...
- Yay, ajax magic!
2020-10-20 22:37:55 +11:00
Oliver Walters
2e4613e702
Updates to build forms / etc
2020-10-20 22:37:21 +11:00
Oliver Walters
73a1765a11
Fix table sorting when groups are used.
...
This is necessary because the field names of the tables are specified like "part_detail.IPN" and multi-level string-based object access is weird.
Luckily someone has worked out the hard part for me.
Ref: https://stackoverflow.com/questions/6393943/convert-javascript-string-in-dot-notation-into-an-object-reference
2020-10-20 11:54:54 +11:00
Oliver Walters
a2ee172058
Updates tables for PurchaseOrder and SalesOrder
2020-10-20 08:45:17 +11:00
Oliver Walters
406d7bcf80
Load build order prefix setting
2020-10-20 08:41:08 +11:00