Commit Graph

5411 Commits

Author SHA1 Message Date
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
e39ca35eab Fix: New translations django.po from Crowdin 2021-07-02 08:38:15 +10:00
Oliver
1689c3f235 Fix: New translations django.po from Crowdin 2021-07-02 08:38:14 +10:00
Oliver
4c35dd4970 Fix: New translations django.po from Crowdin 2021-07-02 08:38:13 +10:00
Oliver
ed961c9831 Fix: New translations django.po from Crowdin 2021-07-02 08:38:11 +10:00
Oliver
9c5bfed3e2 Fix: New translations django.po from Crowdin 2021-07-02 08:38:10 +10:00
Oliver
407be57b59 Fix: New translations django.po from Crowdin 2021-07-02 08:38:09 +10:00
Oliver
5bbd7cd831 Fix: New translations django.po from Crowdin 2021-07-02 08:38:08 +10:00
Oliver
3513f9d8a3 Fix: New translations django.po from Crowdin 2021-07-02 08:38:06 +10:00
Oliver
18ff50ad40 Fix: New translations django.po from Crowdin 2021-07-02 08:38:05 +10:00
github-actions[bot]
cec15de26c updated translation base 2021-07-01 22:35:28 +00: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
Matthias
56b23389d3 missed the settings definition 2021-06-30 23:54:56 +02:00
Matthias
4fa57aee16 changing method call to avoid circle ref 2021-06-30 23:48:43 +02:00
Matthias
2c7a4a1246 switching out BASE_CURRENCY 2021-06-30 23:38:48 +02:00
Matthias
92645d790b use setting for currency_code_default 2021-06-30 23:36:46 +02:00
Matthias
88f57a211f setting for default currency 2021-06-30 23:35:57 +02:00
Oliver
54731746d8 Render simple choice fields with select2 2021-06-30 23:18:50 +10:00
Oliver
770cd9a12d Fix for LocationSerializer 2021-06-30 22:10:15 +10:00
Oliver
30ac5dba55 Display attachment upload date 2021-06-30 17:44:23 +10:00
Oliver
9b4db43232 Refactoring "attachment" tables to use the API
- Part attachments
- StockItem attachments
- PurchaseOrder attachments
- SalesOrder attachments
- BuildOrder attachments
2021-06-30 17:40:44 +10:00
Oliver
682b2b4b2f Support rendering / updating of date inputs 2021-06-30 17:04:21 +10:00
Oliver
a92fc7cf2c PEP fixes 2021-06-30 14:15:18 +10:00
Oliver
2b394174bc Refactor update and delete forms for SupplierPriceBreak 2021-06-30 14:14:31 +10:00
Oliver
09fff5b644 Refactor PriceBreakCreate form
- Handle non_field_errors
2021-06-30 14:07:15 +10:00
Oliver
8f47035a7b Refactor delete view for PartAttachment and StockItemAttachment 2021-06-30 12:58:41 +10:00
Oliver
4e23dbd0af Refactor delete views for SalesOrderAttachment and PurchaseOrderAttachment 2021-06-30 12:54:38 +10:00
Oliver
4d8e88c779 BuildAttachmentDelete form 2021-06-30 12:48:14 +10:00
Oliver
653e3cd135 Starting work on a DELETE form 2021-06-30 12:03:32 +10:00
Oliver
537c15081b Fix for PK lookup in API test 2021-06-30 11:12:16 +10:00
Oliver
9ea3e511b9 Refactor BuildAttachment views 2021-06-30 11:05:35 +10:00
Oliver
a7d60cf5ad Exposes BuildOrderAttachment objects to the REST API 2021-06-30 10:49:33 +10:00
Oliver
f67779c816 Unit test fixes 2021-06-30 10:37:38 +10:00
Oliver
712c9598d1 Refactor SalesOrderAttachment forms 2021-06-30 10:09:05 +10:00
Oliver
60d599b476 Refactor PurchaseOrderAttachment views 2021-06-30 10:03:54 +10:00
Oliver
b946aedb5c Replace PartAttachmentEdit view 2021-06-30 09:49:30 +10:00
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
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
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
Oliver
c3ef8d2dfb Fixes for model renderers 2021-06-29 09:14:26 +10:00
Matthias
153be2df13 Merge branch 'master' of https://github.com/inventree/InvenTree into allocated-sort-qty 2021-06-29 00:17:29 +02:00
Oliver
ed2f21f583 Display field prefix element in form 2021-06-28 21:38:42 +10:00
Oliver
ac7564d069 Extract "limit_choices_to" options for relatedfields
- Specify as 'filters' for 'related field' type
- Extremely handy to be able to filter AJAX requests in a DRY manner!
2021-06-28 21:29:51 +10:00
github-actions[bot]
6be5c58104 updated translation base 2021-06-28 11:24:43 +00:00
Oliver
f0f6c7d186 Add a comment 2021-06-28 21:09:48 +10:00
Oliver
4dbd770f2d Fixed (I think?) 2021-06-28 21:08:50 +10:00
Oliver
3c1f0637dc Adds unit tests for HTML API endpoints 2021-06-28 20:42:37 +10:00
Oliver
f3ed05a09e Automatically associate ''filters' with relations 2021-06-28 20:13:18 +10:00
Oliver
e585079779 Callback function for fields after editing 2021-06-28 19:32:48 +10:00
Oliver
fbff9bfb2d Insert buttons for secondary modals 2021-06-28 15:10:17 +10:00
Oliver
41539b75db Adds custom filters for AJAX queries 2021-06-28 14:19:05 +10:00
Oliver
e2942238a9 Bug fix - check for null rather than just ! 2021-06-28 13:10:41 +10:00
Oliver
ba2537d125 Refactor the way that field options are passed to a form 2021-06-28 13:03:34 +10:00
Oliver
6335372208 Store instance data when performing an "update" 2021-06-28 09:28:38 +10:00
Oliver
5bbaae14c6 Fix: New translations django.po from Crowdin 2021-06-28 09:18:30 +10:00
Oliver
0fd6a327e4 Fix: New translations django.po from Crowdin 2021-06-28 09:18:28 +10:00
Oliver
2a823d7e9a Fix: New translations django.po from Crowdin 2021-06-28 09:18:27 +10:00
Oliver
31e7d4282e Fix: New translations django.po from Crowdin 2021-06-28 09:18:26 +10:00
Oliver
fd4b5b8657 Fix: New translations django.po from Crowdin 2021-06-28 09:18:25 +10:00
Oliver
d3d3d93bab Fix: New translations django.po from Crowdin 2021-06-28 09:18:24 +10:00
Oliver
1f25b2f1e2 Fix: New translations django.po from Crowdin 2021-06-28 09:18:22 +10:00
Oliver
ff2094d1d8 Fix: New translations django.po from Crowdin 2021-06-28 09:18:21 +10:00
Oliver
5f0de34c12 Fix: New translations django.po from Crowdin 2021-06-28 09:18:20 +10:00
github-actions[bot]
144ae6b7ff updated translation base 2021-06-27 23:17:18 +00:00
Matthias
5598f7fad1 added sale price history 2021-06-27 21:32:27 +02:00
Matthias
4462b1e250 order stock histroy items 2021-06-27 21:31:34 +02:00
Matthias
e06397adc1 refactor 2021-06-27 21:31:10 +02:00
Matthias
f479c0cd27 naming refactor 2021-06-27 20:46:52 +02:00
Matthias
ef07c93634 section anchors 2021-06-27 18:31:40 +02:00
Matthias
d71aee00cd refactor of variable names 2021-06-27 17:54:33 +02:00
Matthias
984efd7493 sort graph-data as well 2021-06-27 17:51:49 +02:00
Matthias
16f25f54d4 sorting price-breaks on start 2021-06-27 17:45:31 +02:00
Matthias
547f7a8f36 Merge branch 'master' of https://github.com/inventree/InvenTree into one-pricing-view 2021-06-27 14:40:17 +02:00
Matthias
cd6d13fa7d Merge branch 'master' of https://github.com/inventree/InvenTree into bom-pricing 2021-06-27 14:38:23 +02:00
Matthias
e4a9d56ba0 style fixes 2021-06-27 14:26:51 +02:00
Matthias
4f726931a6 adds in money-conversion helper 2021-06-27 14:18:37 +02:00
Oliver
0e9b82c475 Load default values into rendered form 2021-06-27 21:58:22 +10:00
Matthias
a3ec24fbcc Reenabling prices for BOM items
Closes #1721
2021-06-27 13:48:08 +02:00
Oliver
d80948369b Include 'default' value in OPTIONS request for any fields with specified default values 2021-06-27 21:44:21 +10:00
github-actions[bot]
fbe48e2533 updated translation base 2021-06-27 11:01:12 +00:00
Oliver
604c136b00
Update version.py 2021-06-27 21:00:01 +10:00
github-actions[bot]
91e28bb3d6 updated translation base 2021-06-27 10:59:34 +00:00
Oliver
786e994e19
Update version.py
0.2.4
2021-06-27 20:58:24 +10:00
Matthias
67128c308b fixing typo 2021-06-27 12:26:02 +02:00
Oliver
4320a995df Fix: New translations django.po from Crowdin 2021-06-27 10:11:52 +10:00
Oliver
f9a1700b50 Fix: New translations django.po from Crowdin 2021-06-27 10:11:51 +10:00
Oliver
f175389735 Fix: New translations django.po from Crowdin 2021-06-27 10:11:49 +10:00
Oliver
2c2c5b585c Fix: New translations django.po from Crowdin 2021-06-27 10:11:48 +10:00
Oliver
ab72e39d05 Fix: New translations django.po from Crowdin 2021-06-27 10:11:47 +10:00
Oliver
a994b35029 Fix: New translations django.po from Crowdin 2021-06-27 10:11:45 +10:00
Oliver
f9215e8e59 Fix: New translations django.po from Crowdin 2021-06-27 10:11:44 +10:00
Oliver
146cf61be3 Fix: New translations django.po from Crowdin 2021-06-27 10:11:43 +10:00
Oliver
3134a91a32 Fix: New translations django.po from Crowdin 2021-06-27 10:11:42 +10:00
Oliver
67f76c8bca Merge remote-tracking branch 'inventree/master' into drf-api-forms 2021-06-27 09:26:23 +10:00
github-actions[bot]
0fbd50fa4e updated translation base 2021-06-26 23:25:15 +00:00
Oliver
42ed95c936
Merge pull request #1588 from matmair/part-import
Part import
2021-06-27 09:24:10 +10:00
github-actions[bot]
0dd7c3d893 updated translation base 2021-06-26 23:02:38 +00:00
Matthias Mair
e760aa172a
Merge branch 'master' into part-import 2021-06-26 23:58:41 +02:00
Oliver Walters
34a374ce9a Add try/except around callable default 2021-06-27 01:18:09 +10:00
Oliver Walters
0cc999410b More unit test fixes 2021-06-27 01:03:54 +10:00
Oliver Walters
7505d7b3c5 Unit test fixes 2021-06-27 00:47:12 +10:00
Oliver Walters
d3e9803fd4 Remove debug statement 2021-06-27 00:25:49 +10:00
Oliver Walters
232899e0c4 Simpler implementation 2021-06-27 00:25:23 +10:00
Oliver Walters
8913b74f41 Typo fixes 2021-06-27 00:12:10 +10:00
Oliver Walters
ae1a1e139f Further fixes for default API values
- Account for callable defaults
- Extra check in is_valid()
2021-06-27 00:01:40 +10:00
Oliver
a0390f0821 PEP style fixes 2021-06-26 21:14:47 +10:00
Oliver
b2aa38fefa Override get_initial() rather than is_valid() 2021-06-26 21:14:10 +10:00
Oliver
ddbf863617 Merge remote-tracking branch 'inventree/master' into api-default-values
# Conflicts:
#	InvenTree/InvenTree/serializers.py
2021-06-26 21:04:41 +10:00
Oliver
ba1c70e86b Intercept is_valid() method to set default values 2021-06-26 20:48:09 +10:00
github-actions[bot]
7a648726c1 updated translation base 2021-06-26 10:20:03 +00:00
Oliver
3f1aca9e94
Translation merge (#1724)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* New Crowdin updates (#1670)

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-26 20:18:25 +10:00
Oliver
76b24dd1d9 Merge remote-tracking branch 'inventree/l10_crowdin' into l10
# Conflicts:
#	InvenTree/locale/de/LC_MESSAGES/django.po
#	InvenTree/locale/es/LC_MESSAGES/django.po
#	InvenTree/locale/fr/LC_MESSAGES/django.po
#	InvenTree/locale/it/LC_MESSAGES/django.po
#	InvenTree/locale/ja/LC_MESSAGES/django.po
#	InvenTree/locale/pl/LC_MESSAGES/django.po
#	InvenTree/locale/ru/LC_MESSAGES/django.po
#	InvenTree/locale/tr/LC_MESSAGES/django.po
#	InvenTree/locale/zh/LC_MESSAGES/django.po
2021-06-26 19:55:33 +10:00
Oliver
f696bb2e2a Correctly read out boolean fields 2021-06-26 19:49:56 +10:00
Oliver
2eb7565683 Callback handler for form success 2021-06-26 19:30:57 +10:00
Oliver
9dd2765bd2 Handle returned error messages 2021-06-26 19:11:20 +10:00
Oliver
e9db72017d Extract field data on submit 2021-06-26 17:54:14 +10:00
Oliver
949c7dd81b Set modal form title 2021-06-26 14:30:14 +10:00
Oliver
565631ef87 More features
- Custom renderers depending on specified model name
- Paginate API results
2021-06-26 14:09:35 +10:00
Oliver
5dc7ece16c Fix: New translations django.po from Crowdin 2021-06-26 00:06:42 +10:00
Matthias
d28d66795d linked price break graphs 2021-06-25 07:41:00 +02:00
Matthias
4921cd47f9 refactor for better readabilty 2021-06-25 07:40:01 +02:00
Oliver
b29db6f258 Remove old debug message 2021-06-25 15:22:40 +10:00
Oliver
d411728be6 Start of custom rendering support based on model 2021-06-25 13:58:36 +10:00
Oliver
4cf69a5a4c Custom rendering functions 2021-06-25 13:47:33 +10:00
Oliver
341467ae8d Fixes for base template 2021-06-25 13:47:09 +10:00
Oliver
c07aeddfdb Move select2 files around 2021-06-25 13:39:06 +10:00
Oliver
9e7d1710db Fixes for select2 rendering issues 2021-06-25 13:23:29 +10:00
Oliver
b122b88e12 Fix: New translations django.po from Crowdin 2021-06-25 07:40:21 +10:00
Oliver
e6a584173b Fix: New translations django.po from Crowdin 2021-06-25 07:40:20 +10:00
Oliver
287104619a Fix: New translations django.po from Crowdin 2021-06-25 07:40:19 +10:00
Oliver
2f24424b41 Fix: New translations django.po from Crowdin 2021-06-25 07:40:18 +10:00
Oliver
8b2c4ed934 Fix: New translations django.po from Crowdin 2021-06-25 07:40:16 +10:00
Oliver
e223cd60f2 Fix: New translations django.po from Crowdin 2021-06-25 07:40:15 +10:00
Oliver
ce0bd9a39c Fix: New translations django.po from Crowdin 2021-06-25 07:40:14 +10:00
Oliver
b65cc6e65a Fix: New translations django.po from Crowdin 2021-06-25 07:40:12 +10:00
Oliver
016cd40a87 Fix: New translations django.po from Crowdin 2021-06-25 07:40:11 +10:00
github-actions[bot]
887667df99 updated translation base 2021-06-24 21:38:29 +00:00
Oliver
76ec51a93b
Merge pull request #1722 from matmair/internal-price-op
full Internal price coverage
2021-06-25 07:37:06 +10:00
Oliver
b20af54b76 Create select2 instance for related field 2021-06-25 07:36:37 +10:00
Oliver
9977b0bf59 Include model name in metadata 2021-06-25 07:36:13 +10:00
Matthias
b99af16bfd preparing for price breaks diagrams 2021-06-24 22:13:56 +02:00
Matthias
9ce5a9823e added doc for internal price 2021-06-24 21:48:00 +02:00
Matthias
abe00232f3 use internal price in more places 2021-06-24 21:47:11 +02:00
Oliver
c5df91efce PEP Fix 2021-06-25 00:38:28 +10:00
Oliver
970a5d5eed Include API endpoints in OPTIONS metadata 2021-06-25 00:36:22 +10:00
Oliver
04374c71c2 Annotate models with their API list view
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
Oliver
b273dc613b Scratch that 2021-06-24 23:15:19 +10:00
Oliver
a6cca16341 Fix: New translations django.po from Crowdin 2021-06-24 13:44:39 +10:00
Oliver
b1f53f6366 Fix: New translations django.po from Crowdin 2021-06-24 13:44:38 +10:00
Oliver
63d8d1e2d3 Fix: New translations django.po from Crowdin 2021-06-24 13:44:37 +10:00
Oliver
83dd8de528 Fix: New translations django.po from Crowdin 2021-06-24 13:44:35 +10:00
Oliver
e54396d699 Fix: New translations django.po from Crowdin 2021-06-24 13:44:33 +10:00
Oliver
7c3f50404e Fix: New translations django.po from Crowdin 2021-06-24 13:44:32 +10:00
Oliver
d47df2135b Fix: New translations django.po from Crowdin 2021-06-24 13:44:30 +10:00
Oliver
917fb410bb Fix: New translations django.po from Crowdin 2021-06-24 13:44:29 +10:00
Oliver
4df50887f5 Fix: New translations django.po from Crowdin 2021-06-24 13:44:28 +10:00
github-actions[bot]
258585bc56 updated translation base 2021-06-24 03:41:34 +00:00
Oliver
a12790d5ca Fixes table data nesting
Sometimes you just need a quick break
2021-06-24 13:23:12 +10:00
Oliver
b350a971a4 Working on custom field info in metadata class 2021-06-24 13:12:46 +10:00
Matthias
9f27a77689 price break js refactor 2021-06-24 01:19:09 +02:00
Oliver
9feef935f4 Readonly fields 2021-06-24 00:16:30 +10:00
Oliver
c8085ad39d Skip nested objects 2021-06-24 00:13:40 +10:00
Oliver
9f3f07aff3 Refactor toot-toot
- Now can specify the "order" of fields
2021-06-24 00:06:27 +10:00
Oliver
1754af3d43 Adds ability to specify which fields are displayed 2021-06-24 00:00:20 +10:00
Oliver
e7bc53a548 Working on a 'update' form
- Fetch existing data from the API
2021-06-23 23:51:11 +10:00
Oliver
4009ec844f Test fixes 2021-06-23 23:42:56 +10:00
Oliver
6162129e3d Support choice field 2021-06-23 23:36:38 +10:00
Matthias
d7d080fb96 adding in manufacturer and supplier tables 2021-06-23 15:30:04 +02:00
Oliver
1a43198cb7 actually run tests, for a change 2021-06-23 23:28:32 +10:00
Oliver
96ecd2640a Support email fields 2021-06-23 23:27:02 +10:00
Oliver
d77ca8aa3a Support URL fields 2021-06-23 23:23:28 +10:00
Oliver
78232c2ca2 Refactorin' 2021-06-23 23:18:36 +10:00
Oliver
b71977bb6a Add field support
- Support text field
- Support checkbox field
2021-06-23 22:59:27 +10:00
Oliver
66687a6915 Now with error messages! 2021-06-23 22:37:45 +10:00