2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 07:24:15 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
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
b41dbba2b0 Correctly handle serialization of newly created stock 2021-11-04 23:18:59 +11:00
3be4acf3ef More refactoring for notifications
- Adds default behaviour for successful stock item creation
2021-11-04 23:09:49 +11:00
be543ca3da Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-04 10:57:40 +11:00
b6d48cab2a Make further use of notification messages 2021-11-04 10:14:01 +11:00
df30a85c03 More fixes:
- Add "back to site" button on logout screen
- Add favicon to account pages
- Refactor notifications / alerts / caching
2021-11-04 09:59:56 +11:00
d8e3c40f78 Implementing more complex behaviour for StockItem creation form 2021-11-02 23:04:10 +11:00
ad0277a8c3 Merge branch 'master' into stock-item-forms
# Conflicts:
#	InvenTree/stock/serializers.py
#	InvenTree/stock/templates/stock/item_base.html
2021-11-01 12:00:40 +11:00
638c9d4007 Enable bootstrap-5 theme for select2 2021-10-30 22:16:40 +11:00
a15cc1f3ba linting fixes 2021-10-30 00:07:51 +11:00
2778ff55da Remove btn-default 2021-10-28 19:57:17 +11:00
b1cdcdf0b8 More fixes
- About modal
- Server-side modals
- icon badges
- checkboxes in API forms
2021-10-28 19:41:46 +11:00
0ef0c539a7 Update bootstrap-table 2021-10-28 13:03:47 +11:00
a004f293ff Replace all instances of data-toggle with data-bs-toggle 2021-10-27 22:06:30 +11:00
9df9aaa18f breadcrumbs 2021-10-27 20:17:37 +11:00
219191eb6a Updates for modal forms:
- Fix css classes
2021-10-27 16:48:45 +11:00
827ff0f58b Modal forms fixes
- Update bootstrap classes and terminology
- Visual tweaks to modal form title block
2021-10-27 16:26:28 +11:00
c6ceea4d45 Remove reliance on "bootstrap-toggle" library
- Still needs fixing in modal forms
2021-10-27 09:37:07 +11:00
b35ce79d6a js linting fix 2021-10-26 08:00:28 +11:00
cbbad98fea Improve client-side validation of numerical inputs 2021-10-26 07:52:29 +11:00
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
92568748cf Further improvements
- Add callback for when a select2 form field is updated
- Adjust selected quantity based on returned data
- auto_fill the stock_item field
2021-10-20 23:03:03 +11:00
4a0ed4b2a1 Start of API forms for stock item 2021-10-20 10:53:21 +11:00
542b4113a1 Improvements for build output completion
- Check if the output is fully allocated (throw error if not)
- Reload tables after actions performed
2021-10-17 21:37:10 +11:00
0c60387626 Extract a list of existing substitute parts from the form 2021-10-14 16:50:56 +11:00
31665e3b8d Enable editing of "sales order" from build order
- Add a renderer for the sales order model
2021-10-07 10:45:14 +11:00
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
7ecd4c70e7 JS linting 2021-10-05 11:02:57 +11:00
563deb5ffa Add ability to specify "source location" for stock allocations
- Defaults to build.take_from
- User-selectable at run-time
- Selected value affects select2 query
2021-10-05 10:38:18 +11:00
28509dbd68 Remove old unit test 2021-10-05 00:48:03 +11:00
416ba51e22 Add auto-fill option to select2 inputs on API forms
- WIll fill input if a single result is returned
2021-10-05 00:39:22 +11:00
a9d5b776d3 Adds error handling of nested form fields in the API form processing layer
- Muy complejo
- But the results speak for themselves!
 -This will need to be rolled out into the coming refactor...
2021-10-04 22:41:59 +11:00
cd657daf50 Fixes for stockitem rendering in API forms
- Also improved rendering for other models
2021-10-04 17:41:09 +11:00
49dc88abbc Add configurable options for the stockitem renderer 2021-10-04 17:31:38 +11:00
125554c53f Merge remote-tracking branch 'upstream/master' into receive-via-api
# Conflicts:
#	InvenTree/templates/js/dynamic/inventree.js
#	InvenTree/templates/js/translated/forms.js
#	InvenTree/templates/js/translated/tables.js
2021-09-07 22:34:00 +10:00
888fa51cd7 lots of linting fixes for JS files 2021-09-03 22:54:17 +10:00
4c39607e00 Brace style fixes 2021-08-30 20:30:26 +10:00
e1adef5010 typo fix 2021-08-30 20:08:18 +10:00
51eb40f3bc forms.js 2021-08-30 15:47:58 +10:00
0d7eb6b72c Style fixes 2021-08-24 22:25:25 +10:00
5275d3943b Adds option to hide labels and help text 2021-08-24 22:13:07 +10:00
d87ab0033a Add "afterRender" callback for modal forms 2021-08-24 22:05:00 +10:00
28bccea57b Cleanup 2021-08-14 13:43:38 +10:00
f753e11f10 Improve error notification for modal forms
- Scroll to error
- Add red border and background to the form
2021-08-14 13:41:19 +10:00
f72eb4266a remove old debug message 2021-08-14 12:31:22 +10:00
2be9399d2c CSS style fixes 2021-08-14 01:15:43 +10:00
ad844c4393 Simplify rendering of checkboxes in forms
- Display "inline" so they take up much less vertical space
2021-08-14 01:05:06 +10:00
5cbb67b91c Add options to show / hide form groups 2021-08-14 00:20:34 +10:00
1396c349c8 Refactor form field definition copying 2021-08-14 00:08:26 +10:00
5b42ab7332 Add "groups" to API forms 2021-08-13 21:48:48 +10:00