Commit Graph

6135 Commits

Author SHA1 Message Date
Oliver
5e9372f2d6 Add API endpoints for Owner model
- Will be necessary for PurchaseOrder, SalesOrder and BuildOrder forms
2021-07-02 22:45:42 +10:00
Oliver
2ff9b23647 Fixes for company serializer 2021-07-02 22:02:18 +10:00
Oliver
298d870b44 Refactor CompanyDelete view 2021-07-02 21:55:59 +10:00
Oliver
07910766b3 select2 fixes 2021-07-02 21:36:41 +10:00
Oliver
a47948ffe0 Include model name in metadata 2021-07-02 21:18:02 +10:00
Oliver
2a4cbd6eb9 Refactor setRelatedFieldData function 2021-07-02 21:17:20 +10:00
Oliver
6d73265f0e Add support for custom placeholder text 2021-07-02 19:47:47 +10:00
Oliver
3756bd6668 CSS tweaks 2021-07-02 19:44:37 +10:00
Oliver
746a0210fe Add option to focus on a particular field when launching 2021-07-02 19:40:02 +10:00
Oliver
c7f834e547 Display message when action is not allowed 2021-07-02 19:34:40 +10:00
Oliver
366a2d57c3 Improve docstring 2021-07-02 19:27:19 +10:00
Oliver
2e3bfd18cc Starting work on "secondary modal" functionality 2021-07-02 17:47:18 +10:00
Oliver
291149d733 New modal forms automatically work themselves out 2021-07-02 17:46:54 +10:00
Oliver
047b9d1ecd Capture enter key to submit form 2021-07-02 17:19:58 +10:00
Oliver
72526307ae Renderer for supplier part 2021-07-02 17:11:07 +10:00
Oliver
52952a8a8b Handle different form responses 2021-07-02 16:53:56 +10:00
Oliver
9927b597c3 PEP fixes 2021-07-02 11:26:48 +10:00
Oliver
51ebe30754 Merge remote-tracking branch 'inventree/master' into drf-api-forms
# Conflicts:
#	InvenTree/company/forms.py
2021-07-02 11:26:09 +10:00
Oliver
00e921f505 More work on dynamic modal template 2021-07-02 11:13:24 +10:00
Oliver
3ff19f8c75 Refactorin' 2021-07-02 11:06:52 +10:00
Oliver
2f1dea1123 Modals can now be created programatically
- INFINITE MODALS
- API forms now create a new modal as required
2021-07-02 10:52:56 +10:00
Oliver
d243356324
Merge pull request #1736 from matmair/money-update
Money updates
2021-07-02 08:34:20 +10:00
Matthias
5aaced6e66 migration for file-based currency setting 2021-07-01 18:20:39 +02:00
Oliver
74d2334f36 Merge remote-tracking branch 'inventree/master' into drf-api-forms 2021-07-01 22:08:10 +10:00
Oliver
a771d7732b Icon tweak 2021-07-01 21:58:05 +10:00
Oliver
e0f8310ca8 Adds the ability to "clear" a non-required field with an obvious button 2021-07-01 21:57:07 +10:00
Matthias
14c904c0c5 style fixes 2021-07-01 10:45:33 +02:00
Matthias
951e8910ba using functions for currency codes 2021-07-01 10:41:23 +02:00
Matthias
983255a05e naming refactor 2021-07-01 10:37:16 +02:00
Matthias
66c1e9c97d currency codes in own function 2021-07-01 10:32:07 +02:00
Oliver
225162ab8e Add ability to delete multiple selected manufacturer part parameters 2021-07-01 17:20:06 +10:00
Oliver
8a29a3de0f PEP fixes 2021-07-01 17:01:52 +10:00
Oliver
9bd71c1184 Refactor deletion of multiple manufacturer part objects
- issues multiple DELETE requests via the API
2021-07-01 17:01:30 +10:00
Oliver
206d7bd96a Refactor edit and delete forms for ManufacturerPart 2021-07-01 16:28:46 +10:00
Oliver
96a2629fd2 Remove old URL endpoints 2021-07-01 16:07:42 +10:00
Oliver
870542e4c1 Refactor forms for ManufacturerPartParameter 2021-07-01 16:05:23 +10:00
Matthias
3c6c9c59d6 added clean migration steps for all price fields 2021-07-01 07:11:15 +02:00
Matthias
9b7a08f50f fixed doc 2021-07-01 07:07:40 +02:00
Matthias
4d86f33e23 clean Money migrations! 2021-07-01 07:07:02 +02:00
Oliver
bfc5a7dcf8 Refactor forms for PartTestTemplate model:
- Remove old forms
- Remove old views
- Add detail endpoint for the API
2021-07-01 14:44:23 +10:00
Oliver
9d1c1b98df PEP fix 2021-07-01 14:33:16 +10:00
Oliver
bb0a72f235 Refactor forms for StockItemTestResult
- Add DETAIL endpoint for model
- Remove old views
- Remove old forms
2021-07-01 14:31:37 +10:00
Oliver
59b794f0e5 Cleanup old forms 2021-07-01 14:25:14 +10:00
Matthias
ea8b102897 style fix 2021-07-01 00:50:50 +02:00
Matthias
7c6a58e936 handle default in kwargs 2021-07-01 00:48:16 +02:00
Matthias
dbb9fbd9fd set default currency in field 2021-07-01 00:46:53 +02:00
Matthias
fcdefc4f83 removing default_currency in fields 2021-07-01 00:40:26 +02:00
Matthias
e2278fc261 removing lambda 2021-07-01 00:33:24 +02:00
Matthias
4b7e8c7d21 style fixes 2021-07-01 00:14:23 +02:00
Matthias
3a57093b4e replace MoneyFields with inherited classes 2021-07-01 00:13:38 +02:00