Commit Graph

7199 Commits

Author SHA1 Message Date
Oliver
238dccc071 Replace PartAttachmentCreate form 2021-06-30 09:45:36 +10:00
Oliver
8c439e52fd PEP fix 2021-06-30 09:41:13 +10:00
Oliver
54c9bd25a5 Add detail endpoint for StockItemAttachment 2021-06-30 09:40:54 +10:00
Oliver
87235b7e6f Replace StockItemAttachmentCreate form
- Also replace drag-and-drop
- Add 'hidden' option for form fields
- Adds renderer for StockItem model
2021-06-30 09:17:28 +10:00
Oliver
7d53bcb27c Convert StockItemEditStatus to use API forms 2021-06-30 08:52:53 +10:00
Oliver
43f26f2c65 Allow custom labels 2021-06-30 01:07:57 +10:00
Oliver
1f75530910 Specify custom help text for fields on the client side 2021-06-30 01:07:36 +10:00
Oliver
621f47e46c Replace "edit part category" form 2021-06-30 01:04:39 +10:00
Oliver
c425f36a35 Remove dead class 2021-06-30 00:24:27 +10:00
Oliver
26eafe242c Replace PartImageUpload form 2021-06-30 00:18:25 +10:00
Oliver
293b5d4c07 Allow file and image fields
- Use FormData class
- Replace existing Company image upload form
2021-06-30 00:13:53 +10:00
Oliver
33ec91acc7 Add "default" from serializer field (if present)
- Overrides model default
- Set choices for currency serializer field
- Adds some unit testing
2021-06-29 23:14:39 +10:00
Oliver
8b3a497554 Remove unused Form 2021-06-29 23:05:37 +10:00
Oliver
48e36bfd9b Fix: New translations django.po from Crowdin 2021-06-29 21:33:44 +10:00
Oliver
2b846169cf Fix: New translations django.po from Crowdin 2021-06-29 21:33:42 +10:00
Oliver
7f74945e7a Fix: New translations django.po from Crowdin 2021-06-29 21:33:41 +10:00
Oliver
36e3f9bc51 Fix: New translations django.po from Crowdin 2021-06-29 21:33:40 +10:00
Oliver
9c3b93830b Fix: New translations django.po from Crowdin 2021-06-29 21:33:39 +10:00
Oliver
a1f5605e12 Fix: New translations django.po from Crowdin 2021-06-29 21:33:37 +10:00
Oliver
6ec4530628 Fix: New translations django.po from Crowdin 2021-06-29 21:33:35 +10:00
Oliver
bbdd4554a6 Fix: New translations django.po from Crowdin 2021-06-29 21:33:33 +10:00
Oliver
438e7048e1 Fix: New translations django.po from Crowdin 2021-06-29 21:33:32 +10:00
github-actions[bot]
8afcd06f72 updated translation base 2021-06-29 11:25:34 +00:00
Oliver
6156fffd1d Remove broken URLs 2021-06-29 21:25:20 +10:00
Oliver
8ee12abb50
Merge pull request #1734 from matmair/hide-related
option to hide related parts
2021-06-29 21:24:21 +10:00
Oliver
170ed37d03 Delete CompanyCreate AJAX view 2021-06-29 21:20:53 +10:00
Oliver
c25967eff6 Replace CompanyCreate and CompanyEdit forms with AJAX form
- Adds the ability to specify an "icon" for each field
2021-06-29 21:17:48 +10:00
Oliver
cf0feffe26 Allow override of values from calling function 2021-06-29 20:44:44 +10:00
Matthias
d10169932d option to hide related parts #1733 2021-06-29 12:33:54 +02:00
Oliver
5230a5a41b Add "success" functionality for form posting 2021-06-29 19:55:32 +10:00
Oliver
981cc2e24e Fix select2 styling 2021-06-29 19:51:31 +10:00
Oliver
4aed6993d4 Add some more unit tests 2021-06-29 19:48:49 +10:00
Oliver
da6d170ce2 Add 'help_text' for related fields 2021-06-29 19:39:45 +10:00
Oliver
f18c2a7a3d Fix rendering during search 2021-06-29 12:48:56 +10:00
Oliver
9312a5d3b4 Correctly render selected value of a related field
Ref: https://select2.org/programmatic-control/add-select-clear-items#preselecting-options-in-an-remotely-sourced-ajax-select2
2021-06-29 12:39:39 +10:00
Oliver
798bc17311 Merge remote-tracking branch 'inventree/master' into drf-api-forms 2021-06-29 09:57:03 +10:00
Oliver
66dc058df5 Fix: New translations django.po from Crowdin 2021-06-29 09:33:54 +10:00
Oliver
29698aff78 Fix: New translations django.po from Crowdin 2021-06-29 09:33:53 +10:00
Oliver
674a2580dc Fix: New translations django.po from Crowdin 2021-06-29 09:33:52 +10:00
Oliver
0938e148cb Fix: New translations django.po from Crowdin 2021-06-29 09:33:50 +10:00
Oliver
b88ce19adb Fix: New translations django.po from Crowdin 2021-06-29 09:33:49 +10:00
Oliver
9ddde282c9 Fix: New translations django.po from Crowdin 2021-06-29 09:33:48 +10:00
Oliver
06fe26f210 Fix: New translations django.po from Crowdin 2021-06-29 09:33:46 +10:00
Oliver
18d0435ff1 Fix: New translations django.po from Crowdin 2021-06-29 09:33:45 +10:00
Oliver
20818d71fd Fix: New translations django.po from Crowdin 2021-06-29 09:33:44 +10:00
github-actions[bot]
68918a9618 updated translation base 2021-06-28 23:33:08 +00:00
Oliver
4eef3c99bc
Merge pull request #1731 from matmair/allocated-sort-qty
sortable OrderAllocationTable
2021-06-29 09:31:55 +10:00
Oliver
374344d0e2 Refactor switch statement 2021-06-29 09:28:00 +10:00
Oliver
0037056ee8 Better default renderer 2021-06-29 09:26:40 +10:00
Oliver
25a01be995 Added warning message for missing model information 2021-06-29 09:25:40 +10:00