Commit Graph

6200 Commits

Author SHA1 Message Date
Oliver
27d3173d26 Fix: New translations django.po from Crowdin 2021-07-16 07:44:16 +10:00
Oliver
b8f1a4233a Fix: New translations django.po from Crowdin 2021-07-16 07:44:15 +10:00
github-actions[bot]
b5d2275011 updated translation base 2021-07-15 21:34:38 +00:00
Oliver
3f3d058bfa
Merge pull request #1817 from SchrodingersGat/spa-bug-fix
Fixes for issues with new SPA approach
2021-07-16 07:33:28 +10:00
eeintech
886d95e467 Easy fix! 2021-07-15 16:31:07 -04:00
eeintech
bfc421c50b Cleaner part details 2021-07-15 14:52:33 -04:00
Oliver
cbbd58c743 Fixes for issues with new SPA approach
- Fix manufacturer part table
- Fix supplier part table
- Consolidate manufacturer and supplier parts onto single page
- CSS fixes
2021-07-16 01:13:48 +10:00
Oliver
1665a8dbd4 Fix: New translations django.po from Crowdin 2021-07-15 23:54:48 +10:00
Oliver
07178d44d3 Fix: New translations django.po from Crowdin 2021-07-15 23:54:47 +10:00
Oliver
747d51ee50 Fix: New translations django.po from Crowdin 2021-07-15 23:54:46 +10:00
Oliver
d56f781989 Fix: New translations django.po from Crowdin 2021-07-15 23:54:45 +10:00
Oliver
ebde0793f2 Fix: New translations django.po from Crowdin 2021-07-15 23:54:43 +10:00
Oliver
16c2a91931 Fix: New translations django.po from Crowdin 2021-07-15 23:54:42 +10:00
Oliver
47363894a7 Fix: New translations django.po from Crowdin 2021-07-15 23:54:40 +10:00
Oliver
78eb16a770 Fix: New translations django.po from Crowdin 2021-07-15 23:54:39 +10:00
Oliver
e20c9555d8 Fix: New translations django.po from Crowdin 2021-07-15 23:54:38 +10:00
github-actions[bot]
405ba964ba updated translation base 2021-07-15 13:45:09 +00:00
Oliver
bb60eed897
Merge pull request #1811 from SchrodingersGat/spa
Dynamically switch between navbar selections on pages
2021-07-15 23:43:43 +10:00
Oliver
28b3432afe Delete outdated unit test 2021-07-15 23:19:47 +10:00
Oliver
e86e15df99 Fix part import form 2021-07-15 23:18:41 +10:00
Oliver
e116ef9a8b Fix BOM upload form 2021-07-15 23:14:40 +10:00
Oliver
09d175f7cf Fix purchase order import form 2021-07-15 23:11:59 +10:00
Oliver
c61fc7c1df Refactor part pricing page 2021-07-15 23:06:37 +10:00
Oliver
0fc558068f Refactor BuildOrder pages 2021-07-15 22:40:14 +10:00
Oliver
533a3aa368 Refactor StockItem pages 2021-07-15 22:19:13 +10:00
Oliver
b1640fcc23 Refactor StockLocation pages 2021-07-15 21:38:05 +10:00
Oliver
676cca89a1 Refactor ManufacturerPart pages 2021-07-15 21:32:46 +10:00
Oliver
52da678636 Refactor SupplierPart page 2021-07-15 21:24:33 +10:00
Oliver
72337dab49 Refactor PartCategory views 2021-07-15 17:26:06 +10:00
Oliver
d5bf108fef Remove unused template file 2021-07-15 16:54:49 +10:00
Oliver
df89008116 Refactor allocation page(s)
- Also perform null check on notes before displaying
2021-07-15 16:53:14 +10:00
Oliver
e38d740bbc Refactor "used in" page 2021-07-15 16:44:46 +10:00
Oliver
e7c7bdcd00 Refactor BOM page 2021-07-15 16:42:28 +10:00
Oliver
57851b0eaf Refactor build orders display 2021-07-15 16:36:20 +10:00
Oliver
c8c7f78ce9 Refactor "related parts" view 2021-07-15 16:28:26 +10:00
Oliver
8607d702c4 Refactor variants page 2021-07-15 16:17:41 +10:00
Oliver
985bd39234 Fix links 2021-07-15 16:14:48 +10:00
Oliver
84149d34a6 Refactor part-supplier view 2021-07-15 16:12:27 +10:00
Oliver
984e16d5af Return all part parameters to the main part edit form
- refactor purchaseorder view
- refactor salesorder view
2021-07-15 16:07:46 +10:00
Oliver
352a58b373 Can select nav based on URL query parameter 2021-07-15 13:41:26 +10:00
Oliver
3786454e4c Remove URL 2021-07-15 12:56:26 +10:00
Oliver
1a30a5bc16 Merge "test template" page 2021-07-15 12:56:17 +10:00
Oliver
2d2ad91545 Move "stock" part view 2021-07-15 12:52:36 +10:00
Oliver
0667857754 Refactor part base display 2021-07-15 12:04:48 +10:00
github-actions[bot]
c3ef65102d updated translation base 2021-07-14 23:56:02 +00:00
Oliver
94792596e9
Update version.py
Bumped version number
2021-07-15 09:54:55 +10:00
Oliver
b6e73523a1 Fix: New translations django.po from Crowdin 2021-07-14 08:32:46 +10:00
Oliver
02c9d71a68 Fix: New translations django.po from Crowdin 2021-07-14 08:32:44 +10:00
Oliver
b3caedc6f6 Fix: New translations django.po from Crowdin 2021-07-14 08:32:41 +10:00
Oliver
e56a375bb5 Fix: New translations django.po from Crowdin 2021-07-14 08:32:40 +10:00
Oliver
ea1bb8bdf0 Fix: New translations django.po from Crowdin 2021-07-14 08:32:39 +10:00
Oliver
4b472023ad Fix: New translations django.po from Crowdin 2021-07-14 08:32:37 +10:00
Oliver
bf73ce8b6f Fix: New translations django.po from Crowdin 2021-07-14 08:32:36 +10:00
Oliver
efba9d63e6 Fix: New translations django.po from Crowdin 2021-07-14 08:32:33 +10:00
Oliver
5be4eefb2d Fix: New translations django.po from Crowdin 2021-07-14 08:32:32 +10:00
github-actions[bot]
57dcaa88ae updated translation base 2021-07-13 22:00:36 +00:00
Oliver
f41f1316d9 Fix: New translations django.po from Crowdin 2021-07-14 06:23:18 +10:00
eeintech
3d9ad24e27 Defined custom SupplierPart object manager and prefetch related models in all queries 2021-07-13 12:55:36 -04:00
Oliver
8fed3b3522 Typo fix 2021-07-13 22:03:49 +10:00
Oliver
8dde89e781 Table fixes 2021-07-13 21:57:49 +10:00
Oliver
c1c0a262b2 Refactor Company detail view 2021-07-13 21:53:48 +10:00
Oliver
b6227f7d28 Refactor PurchaseOrder display 2021-07-13 21:21:00 +10:00
Oliver
65de52b705 Add javascript to dynamically switch between views 2021-07-13 20:58:05 +10:00
Oliver
9889e314a9 Remove unused templates 2021-07-13 20:04:12 +10:00
Oliver
970f08260c Update navbar 2021-07-13 20:04:02 +10:00
Oliver
39c58e4015 Move all "SalesOrder" content onto a single page 2021-07-13 19:59:11 +10:00
Oliver
a0b3359d62 Fix filtering for build orders 2021-07-13 19:58:47 +10:00
Oliver
b0dc76a4d6 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-07-13 19:42:07 +10:00
Oliver
30b99f0963 Fix: New translations django.po from Crowdin 2021-07-13 00:31:46 +10:00
Oliver
e8d86cccf2 Fix: New translations django.po from Crowdin 2021-07-13 00:31:45 +10:00
Oliver
8bb60c72bf Fix: New translations django.po from Crowdin 2021-07-13 00:31:42 +10:00
Oliver
5b9cdcf834 Fix: New translations django.po from Crowdin 2021-07-13 00:31:41 +10:00
Oliver
d117f15553 Fix: New translations django.po from Crowdin 2021-07-13 00:31:39 +10:00
Oliver
a558e2ebe8 Fix: New translations django.po from Crowdin 2021-07-13 00:31:38 +10:00
Oliver
d2f23124c0 Fix: New translations django.po from Crowdin 2021-07-13 00:31:36 +10:00
Oliver
f404881514 Fix: New translations django.po from Crowdin 2021-07-13 00:31:35 +10:00
Oliver
92187fd230 Fix: New translations django.po from Crowdin 2021-07-13 00:31:34 +10:00
github-actions[bot]
5d83d86f7d updated translation base 2021-07-12 13:57:52 +00:00
Oliver
cf23fb6fe8 PEP fixes 2021-07-12 23:32:08 +10:00
Oliver
b1af07c8cb Remove stale pages 2021-07-12 23:31:10 +10:00
Oliver
77d80f5c0f Move "attachments" and "notes" to "Part Detail" page
(cherry picked from commit daf0a082dc04c04cfd68cab70148a7d7cf28460f)
2021-07-12 23:27:50 +10:00
Oliver
9d2531b195 Fix: New translations django.po from Crowdin 2021-07-12 23:24:30 +10:00
Oliver
46f7eac791 Fix: New translations django.po from Crowdin 2021-07-12 23:24:29 +10:00
Oliver
cf9c9c139d Fix: New translations django.po from Crowdin 2021-07-12 23:24:27 +10:00
Oliver
e00654f2c5 Fix: New translations django.po from Crowdin 2021-07-12 23:24:26 +10:00
Oliver
d89ce0dceb Fix: New translations django.po from Crowdin 2021-07-12 23:24:25 +10:00
Oliver
b8ad876cd2 Fix: New translations django.po from Crowdin 2021-07-12 23:24:23 +10:00
Oliver
c5fa167413 Fix: New translations django.po from Crowdin 2021-07-12 23:24:22 +10:00
Oliver
d586139d47 Fix: New translations django.po from Crowdin 2021-07-12 23:24:20 +10:00
Oliver
8ff98f061c Fix: New translations django.po from Crowdin 2021-07-12 23:24:19 +10:00
github-actions[bot]
7e3177d1c4 updated translation base 2021-07-12 12:41:33 +00:00
Oliver
6af05b2b83
Merge pull request #1807 from SchrodingersGat/forms-cleanup
Remove unused forms
2021-07-12 22:40:20 +10:00
github-actions[bot]
18c5054cf6 updated translation base 2021-07-12 12:24:28 +00:00
Oliver
374c3676a3
Merge pull request #1806 from SchrodingersGat/manufacturer-part-api-form
Refactor ManufacturerPartCreate form
2021-07-12 22:23:15 +10:00
Oliver
0cb2b49333 Remove unused forms 2021-07-12 22:23:08 +10:00
github-actions[bot]
2921f34e20 updated translation base 2021-07-12 12:18:41 +00:00
Oliver
bd8b52d7d2
Merge pull request #1804 from SchrodingersGat/api-stock-adjustments
Api stock adjustments
2021-07-12 22:16:56 +10:00
Oliver
7c80767414 PEP fixes 2021-07-12 22:06:03 +10:00
Oliver
30fd3c8841 Unit test fixes 2021-07-12 22:03:36 +10:00
github-actions[bot]
d74cacd059 updated translation base 2021-07-12 11:35:28 +00:00
Oliver
c3b0593aba Refactor ManufacturerPartCreate form 2021-07-12 21:32:09 +10:00
Oliver
ccf17bf4c5 Fix dodgy CSS file 2021-07-12 21:19:00 +10:00
Oliver
77cfadad42 Add 'title' option for contsructed fields 2021-07-12 21:11:29 +10:00
Oliver
52eedef820 remove old StockAdjust view 2021-07-12 21:03:28 +10:00
Oliver
edf4aab063 Refactor "showQuestionDialog" function 2021-07-12 21:03:01 +10:00
Oliver
a1579eecfd Refactor "showAlertDialog" function 2021-07-12 20:55:28 +10:00
Oliver
e9bf4b4cef Add some more functionality to StockLocation page 2021-07-12 20:53:36 +10:00
Oliver
2ea4824030 Add option to move stock for a part 2021-07-12 20:45:45 +10:00
Oliver
9fc7976569 Refactor all "adjustment" forms to use the new API approach 2021-07-12 20:38:54 +10:00
Oliver
74e5b2cd3f Handle delete differently 2021-07-12 20:06:53 +10:00
Oliver
2bebf2d41a Test fixes 2021-07-12 20:00:50 +10:00
Oliver
11ee8e8369 Raise error if specified quantity is above available quantity 2021-07-12 19:59:10 +10:00
Oliver
5329e3e56c Display per-line errors 2021-07-12 19:42:06 +10:00
Oliver
51314a0261 Refactor error messaging for stock adjustment API 2021-07-12 19:41:50 +10:00
Oliver
e04828214a Refactor showApiError() function 2021-07-12 19:20:29 +10:00
Oliver
0c41cc7c77 Handle form submissions 2021-07-12 18:13:06 +10:00
Oliver
e3f85414fa Stock API URL cleanup 2021-07-12 17:32:06 +10:00
Oliver
747cccfa42 Refactor to use more generic forms approach 2021-07-12 16:55:35 +10:00
Oliver
7531984c78 Fix read_only attribute 2021-07-11 21:17:54 +10:00
Oliver
cc90c8abbe Move buttons to separate table column 2021-07-11 21:15:06 +10:00
Oliver
9eb1367d80 Add "location" field 2021-07-11 21:07:56 +10:00
Oliver
3efd7f7777 Add a "notes" field 2021-07-11 20:56:29 +10:00
Oliver
ca5d3a57de Set quantity input parameters based on action 2021-07-11 20:49:54 +10:00
Oliver
9e4bc274cf Allow custom code to be run on form submission 2021-07-11 20:40:27 +10:00
Oliver
c045a3b6f6 Refactorin' 2021-07-11 20:36:52 +10:00
github-actions[bot]
999dc29abd updated translation base 2021-07-10 23:05:29 +00:00
Oliver
0be787ea5b
Merge pull request #1802 from matmair/next-btn-leadingzero
support leading zeros in serial numbers
2021-07-11 09:04:09 +10:00
Matthias
03fb6e5c61 support leading zeros in serial numbers 2021-07-10 17:54:17 +02:00
Oliver
7f8d2fa795 Fix: New translations django.po from Crowdin 2021-07-11 00:25:17 +10:00
Oliver
7806d679f5 Fix: New translations django.po from Crowdin 2021-07-11 00:25:16 +10:00
Oliver
d46181c4fe Fix: New translations django.po from Crowdin 2021-07-11 00:25:15 +10:00
Oliver
06387976d8 Fix: New translations django.po from Crowdin 2021-07-11 00:25:14 +10:00
Oliver
64fee6739c Fix: New translations django.po from Crowdin 2021-07-11 00:25:12 +10:00
Oliver
78511b47c0 Fix: New translations django.po from Crowdin 2021-07-11 00:25:11 +10:00
Oliver
cc369ecb76 Fix: New translations django.po from Crowdin 2021-07-11 00:25:10 +10:00
Oliver
b9c8078807 Fix: New translations django.po from Crowdin 2021-07-11 00:25:08 +10:00
Oliver
ba0b658d59 Fix: New translations django.po from Crowdin 2021-07-11 00:25:07 +10:00
Oliver
14ab1bef14 Callback to remove row 2021-07-11 00:15:46 +10:00
Oliver
0507e8a3bc Building stock adjustment modal 2021-07-10 23:59:35 +10:00
github-actions[bot]
f389f53d2f updated translation base 2021-07-10 13:28:24 +00:00
Oliver
02214ea713
Merge pull request #1799 from SchrodingersGat/bom-export-fix
Bug fix for BOM export
2021-07-10 23:27:17 +10:00
Oliver
30ec9fcf46
New Crowdin updates (#1800)
* 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
2021-07-10 23:08:52 +10:00
Oliver
7cc1063114 PEP 2021-07-10 23:04:34 +10:00
Oliver
73e03636a2 Add unit tests 2021-07-10 23:04:20 +10:00
github-actions[bot]
f20e1ff38e updated translation base 2021-07-10 04:16:07 +00:00
Oliver
cf66a386ea Bug fix 2021-07-10 14:13:46 +10:00
Oliver
8a1909fe86
New Crowdin updates (#1798)
* 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
2021-07-10 14:02:26 +10:00
github-actions[bot]
b4efdf7723 updated translation base 2021-07-10 03:48:49 +00:00
Oliver
bf2774eb21 Add numerical validation step for BomItem 2021-07-10 13:48:44 +10:00
Oliver
f6d5bd4ed8
Merge pull request #1760 from eeintech/bom_import
Converted BOM import to new multi-step form framework
2021-07-10 13:47:25 +10:00
Oliver
155161f380
New Crowdin updates (#1795)
* 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
2021-07-09 23:58:05 +10:00
github-actions[bot]
d7d981a962 updated translation base 2021-07-09 06:58:21 +00:00
Oliver
9ae5c241f5 Move part parameters onto the part details page 2021-07-09 16:34:47 +10:00
Oliver
ff92210b25 Fix URLs 2021-07-09 16:31:29 +10:00
Oliver
6eec6a0599 Consolidate Manufacturers and Suppliers views 2021-07-09 16:29:58 +10:00
Oliver
677620b060
New Crowdin updates (#1792)
* 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
2021-07-09 16:20:20 +10:00
github-actions[bot]
75e280e544 updated translation base 2021-07-09 05:10:54 +00:00
Oliver
47a56f7f5d Fixes for unit tests 2021-07-09 14:54:03 +10:00
Oliver
c694c9467b sessionStorage -> localStorage
OMG
2021-07-09 14:39:08 +10:00
Oliver
6b73e7a408 Add more fields to ManufacturerPart and SupplierPart tables 2021-07-09 14:28:32 +10:00
Oliver
4a450dde8d
New Crowdin updates (#1788)
* 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
2021-07-09 13:58:37 +10:00
github-actions[bot]
a4804b305c updated translation base 2021-07-09 03:40:20 +00:00
Oliver
5235ad1b0c
Merge pull request #1787 from SchrodingersGat/bom-table-additions
Add sub_part_assembly filter to BOM table
2021-07-09 13:39:09 +10:00
Oliver
7168607a88 PEP fix 2021-07-09 13:07:01 +10:00
Oliver
079e331bf6 Add sub_part_assembly filter to BOM table 2021-07-09 13:04:48 +10:00
github-actions[bot]
0b029b5213 updated translation base 2021-07-09 02:58:38 +00:00
Oliver
558e24c985
Merge pull request #1783 from SchrodingersGat/build-table-filtering
Fix for strange table filtering bug
2021-07-09 12:57:03 +10:00
Oliver
5c671f4377
New Crowdin updates (#1785)
* 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
2021-07-09 12:42:48 +10:00
github-actions[bot]
fdb11d19ad updated translation base 2021-07-09 02:32:50 +00:00
Oliver
9d7f9a9aa3 Fix for strange table filtering bug
- When a table was "refreshed" based on the selectable filters, table ordering was not observed
- This was due to the original query parameter conversion not being observed
- Refactored out the conversion function so it works correctly now
- Also removed some cruft from generated query strings
2021-07-09 12:31:25 +10:00
Oliver
7539bd47fe Fix rendering issues 2021-07-09 12:10:27 +10:00
Oliver
6a995042c9 Fix bug relating no PurchaseOrderLineItem with null Part reference 2021-07-09 12:10:17 +10:00
Oliver
4b6ca548b6 Improve form rendering for SupplierPart 2021-07-09 12:09:57 +10:00
Oliver
40ac1f39e0 Improve rendering of "Company" in API form
- Add a thumbnail image
- Refactor select2 thumbnail code

(cherry picked from commit 2df7c520be)
2021-07-09 11:14:38 +10:00
github-actions[bot]
048423405d updated translation base 2021-07-08 23:28:17 +00:00
Oliver
0c73fa3b58 Add regex filter for part name 2021-07-09 09:11:31 +10:00
Oliver
9c6bb3f5bf
New Crowdin updates (#1779)
* 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
2021-07-09 09:09:13 +10:00
Oliver
fd5d20ad13 Fix case for filtering parts by IPN 2021-07-09 09:08:55 +10:00
github-actions[bot]
fc1878216b updated translation base 2021-07-08 23:03:52 +00:00
Oliver
433098ce6e
Merge pull request #1778 from SchrodingersGat/build-forms
Refactor BuildOrderEdit form
2021-07-09 09:02:39 +10:00
Oliver
0a86d947bc Refactor PartParameterCreate form 2021-07-09 02:03:33 +10:00
Oliver
cbf0e0bd4a Refactor forms for editing and deleting a PartParameter
- PartParameters now loaded using the API, not pre-rendered
2021-07-09 01:56:04 +10:00
Oliver
cbd291849c More unit test fixes 2021-07-09 01:49:17 +10:00
Oliver
6e26bd0b71 Fixes for unit tests 2021-07-09 01:29:17 +10:00
Oliver
337223b8eb Modal form improvements 2021-07-09 01:20:40 +10:00
Oliver
ecf47aa69d Fix for BuildOrder reference default value 2021-07-09 01:20:29 +10:00
Oliver
60e8a17f07 bug fix: Prevent API forms from being submitted multiple times
- A problem if you're a manic clicker
2021-07-09 01:06:38 +10:00
Oliver
9947a0cf90 PEP fix 2021-07-09 00:59:56 +10:00
Oliver
7e7fe7d63f Refactor buildlist filtering 2021-07-09 00:58:17 +10:00
Oliver
bec98d355a Improvements
- part_detail defaults to True for BuildSerializer
- Handle invalid parent for BuildOrder
2021-07-09 00:49:19 +10:00
Oliver
9a0033367a
New Crowdin updates (#1777)
* 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
2021-07-09 00:42:12 +10:00
Oliver
be6ecd9587 Fixes for BuildOrder forms 2021-07-09 00:36:54 +10:00
Oliver
13ca076f42 Fix for form rendering of "required" fields with a default value
- Force the "required" parameter to be set
2021-07-09 00:29:36 +10:00
Oliver
004b36b1df Refactor BuildOrderCreate form 2021-07-09 00:18:03 +10:00
Oliver
5016d44b83 Add default value for BuildOrder reference 2021-07-09 00:15:49 +10:00
Oliver
245c04367b Refactor BuildOrderEdit form 2021-07-08 23:57:42 +10:00
github-actions[bot]
9edc16f6a1 updated translation base 2021-07-08 13:36:49 +00:00
Oliver
a4a2fc8d70
New Crowdin updates (#1774)
* 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
2021-07-08 23:35:16 +10:00
Oliver
bd4dde2cb7 Add permissions for PartLabel model 2021-07-08 23:22:25 +10:00
Oliver
15cb1e0005 Print part labels 2021-07-08 22:54:41 +10:00
Oliver
c39f705ef7 Copy default part label templates 2021-07-08 22:42:31 +10:00
Oliver
1830467487 Add admin / serializer / API for PartLabel model 2021-07-08 22:10:10 +10:00
Oliver
a1a4bddcc6 Add model for PartLabel 2021-07-08 21:07:45 +10:00
Oliver
43de19541e 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-07-08 20:53:33 +10:00
github-actions[bot]
1a24a0d984 updated translation base 2021-07-08 10:48:21 +00:00
Oliver
a985e11aa8 Simplify and add filters for StockList API endpoint 2021-07-08 20:10:22 +10:00
Oliver
c7f79a5a08 Fixes 2021-07-08 19:23:01 +10:00
Oliver
79d90b1c4a Additional filtering options for name and IPN fields 2021-07-08 17:46:57 +10:00
Oliver
f0e7826fdc Adds some more API filters for the StockItem endpoint 2021-07-08 17:44:52 +10:00
Oliver
81010994e7 Adds regex filtering for "batch" code on StockItem 2021-07-08 17:26:55 +10:00
Oliver
a8a21f7c9d Transition "has IPN" filter to django-filters approach 2021-07-08 17:16:02 +10:00
Oliver
ba0a13443f PEP fixes 2021-07-08 17:02:55 +10:00
Oliver
376428b80b Add regex IPN filter for Part API 2021-07-08 17:02:45 +10:00
github-actions[bot]
2bc7a1eaf7 updated translation base 2021-07-08 05:29:15 +00:00
Oliver
2467690111 Reintroduces "part" column to part stock 2021-07-08 13:46:53 +10:00
Oliver
3efd8d31e4 Fix: New translations django.po from Crowdin 2021-07-08 12:14:54 +10:00
Oliver
f571085c95 Fix: New translations django.po from Crowdin 2021-07-08 12:14:53 +10:00
Oliver
a09058e068 Fix: New translations django.po from Crowdin 2021-07-08 12:14:52 +10:00
Oliver
069a0bcff5 Fix: New translations django.po from Crowdin 2021-07-08 12:14:51 +10:00
Oliver
89fe0aa377 Fix: New translations django.po from Crowdin 2021-07-08 12:14:49 +10:00
Oliver
58036a60cd Fix: New translations django.po from Crowdin 2021-07-08 12:14:48 +10:00
Oliver
32b195ab09 Fix: New translations django.po from Crowdin 2021-07-08 12:14:47 +10:00
Oliver
6a66ed66ce Fix: New translations django.po from Crowdin 2021-07-08 12:14:45 +10:00
Oliver
845eb82242 Fix: New translations django.po from Crowdin 2021-07-08 12:14:43 +10:00
github-actions[bot]
ca99f1c1c8 updated translation base 2021-07-08 01:42:22 +00:00
Oliver
a2870b60d9
Merge pull request #1757 from matmair/stock-next-prev
Stock previous / next serial
2021-07-08 11:41:01 +10:00
github-actions[bot]
7b5e335f28 updated translation base 2021-07-08 01:32:12 +00:00
Oliver
ae68463f46 API: Allow search of IPN field for ManufacturerPart and SupplierPart 2021-07-08 11:16:04 +10:00
github-actions[bot]
5f07fdf870 updated translation base 2021-07-08 01:14:03 +00:00
Oliver
fcc244b52f Fixes for BuildOrder attachment API list 2021-07-08 10:50:34 +10:00
Oliver
1deab0c040 Fix for SalesOrder attachment table 2021-07-08 10:48:08 +10:00
Oliver
939d5838fa Fixes for PurchaseOrder attachment table 2021-07-08 10:45:42 +10:00
Oliver
41268d92bf Add missing bootstrap .map file 2021-07-08 10:45:23 +10:00
Oliver
1a979fc113 Filtering fix for StockItem attachments 2021-07-08 10:41:18 +10:00
Oliver
ff8ddfbb5c Fix link to select2 2021-07-08 10:38:12 +10:00
Oliver
49f476eb14 Fix: New translations django.po from Crowdin 2021-07-07 07:57:39 +10:00
Oliver
122d7c176f Fix: New translations django.po from Crowdin 2021-07-07 07:57:37 +10:00
Oliver
a3c139430a Fix: New translations django.po from Crowdin 2021-07-07 07:57:36 +10:00
Oliver
963fdebb01 Fix: New translations django.po from Crowdin 2021-07-07 07:57:35 +10:00
Oliver
7b269a6afc Fix: New translations django.po from Crowdin 2021-07-07 07:57:34 +10:00
Oliver
e14a717ce3 Fix: New translations django.po from Crowdin 2021-07-07 07:57:32 +10:00
Oliver
0e1f2907fa Fix: New translations django.po from Crowdin 2021-07-07 07:57:31 +10:00
Oliver
d3bbf3adae Fix: New translations django.po from Crowdin 2021-07-07 07:57:30 +10:00
Oliver
6a4ece0e34 Fix: New translations django.po from Crowdin 2021-07-07 07:57:29 +10:00
github-actions[bot]
8c97b22469 updated translation base 2021-07-06 21:54:16 +00:00
Matthias
2db42eff50 remove unneeded tag 2021-07-06 21:25:42 +02:00
Matthias
98c52c06ac Revert "fetching supplier part for stock tables"
This reverts commit eaf191dc8d.
2021-07-06 21:20:27 +02:00
Matthias
9ed2338162 bolder type for serial numbers 2021-07-06 21:10:42 +02:00
eeintech
87a7081185 Fixed supplier part detail handling in stock table 2021-07-06 14:32:16 -04:00
Oliver
5eab2af598 Fix: New translations django.po from Crowdin 2021-07-06 11:26:50 +10:00
Oliver
ab52c62816 Fix: New translations django.po from Crowdin 2021-07-06 11:26:48 +10:00
Oliver
a2fa5d051e Fix: New translations django.po from Crowdin 2021-07-06 11:26:47 +10:00
Oliver
a3781a3443 Fix: New translations django.po from Crowdin 2021-07-06 11:26:46 +10:00
Oliver
27e19fba1a Fix: New translations django.po from Crowdin 2021-07-06 11:26:44 +10:00
Oliver
54ddb8674f Fix: New translations django.po from Crowdin 2021-07-06 11:26:43 +10:00
Oliver
7f9ac0774d Fix: New translations django.po from Crowdin 2021-07-06 11:26:42 +10:00
Oliver
f4f4c0345d Fix: New translations django.po from Crowdin 2021-07-06 11:26:41 +10:00
Oliver
d435d34620 Fix: New translations django.po from Crowdin 2021-07-06 11:26:38 +10:00
github-actions[bot]
3aed2ade57 updated translation base 2021-07-06 01:24:59 +00:00
Oliver
c2df1fcd95
Merge pull request #1749 from matmair/extend-build-order
Extend build order table
2021-07-06 11:23:36 +10:00
Oliver
2d0bc6a175 Fix: New translations django.po from Crowdin 2021-07-06 09:21:03 +10:00
Oliver
799ff7045d Fix: New translations django.po from Crowdin 2021-07-06 09:21:02 +10:00
Oliver
a5e711a5f3 Fix: New translations django.po from Crowdin 2021-07-06 09:21:01 +10:00
Oliver
9a8765298d Fix: New translations django.po from Crowdin 2021-07-06 09:20:59 +10:00
Oliver
bb4affa21e Fix: New translations django.po from Crowdin 2021-07-06 09:20:58 +10:00
Oliver
b670706a11 Fix: New translations django.po from Crowdin 2021-07-06 09:20:57 +10:00
Oliver
83aa9c7164 Fix: New translations django.po from Crowdin 2021-07-06 09:20:56 +10:00
Oliver
c0ee054286 Fix: New translations django.po from Crowdin 2021-07-06 09:20:55 +10:00
Oliver
3c30e4a385 Fix: New translations django.po from Crowdin 2021-07-06 09:20:53 +10:00
github-actions[bot]
6ec82c0c8f updated translation base 2021-07-05 23:00:30 +00:00
eeintech
6687661928 Fixes for stock modal and notes propagation to tracking items 2021-07-05 17:36:10 -04:00
eeintech
58efc952db Converted BOM import to new multi-step form framework 2021-07-05 14:57:45 -04:00
github-actions[bot]
1ab8ece1ac updated translation base 2021-07-05 07:56:07 +00:00
Oliver
f72762ceb7 Fix filters for ManufacturerPart and SupplierPart table views 2021-07-05 17:15:24 +10:00
Oliver
d24877d8bb Fix: New translations django.po from Crowdin 2021-07-05 17:04:11 +10:00
Oliver
5f576f7750 Fix: New translations django.po from Crowdin 2021-07-05 17:04:10 +10:00
Oliver
fa68dda178 Fix: New translations django.po from Crowdin 2021-07-05 17:04:09 +10:00
Oliver
d7237968f4 Fix: New translations django.po from Crowdin 2021-07-05 17:04:07 +10:00
Oliver
708b7c83a6 Fix: New translations django.po from Crowdin 2021-07-05 17:04:06 +10:00
Oliver
3b83a9c9cd Fix: New translations django.po from Crowdin 2021-07-05 17:04:04 +10:00
Oliver
53f93a8fb9 Fix: New translations django.po from Crowdin 2021-07-05 17:04:03 +10:00
Oliver
9800c3df34 Fix: New translations django.po from Crowdin 2021-07-05 17:04:02 +10:00
Oliver
a6caeeb4d4 Fix: New translations django.po from Crowdin 2021-07-05 17:04:00 +10:00
github-actions[bot]
7543001584 updated translation base 2021-07-05 06:55:32 +00:00
Oliver
f790d6a6a5
L10 (#1752)
* 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

* 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

* 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

* 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

* updated translation base

* updated translation base

* New Crowdin updates (#1751)

* 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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-05 16:54:15 +10:00
Oliver
2a8f3a2918 Merge remote-tracking branch 'origin/master' into l10
# Conflicts:
#	InvenTree/locale/de/LC_MESSAGES/django.po
#	InvenTree/locale/en/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-07-05 14:03:50 +10:00
Oliver
a2ebc15ee1 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-07-05 14:02:45 +10:00
Matthias
84b67e2cc1 also allow the boundaries 2021-07-05 00:53:05 +02:00
Matthias
1786c029b4 prev and next serial link in stock items 2021-07-05 00:47:45 +02:00
Matthias
369acb494b new tag for url resolve 2021-07-05 00:46:51 +02:00
Matthias
eaf191dc8d fetching supplier part for stock tables 2021-07-04 23:45:04 +02:00
Matthias
4711f0b823 fromatter for responsible group 2021-07-04 00:16:14 +02:00
Matthias
7b3bc33b88 using owner serializer 2021-07-04 00:15:44 +02:00
Matthias
4f31cee6a3 Merge branch 'master' of https://github.com/inventree/InvenTree into extend-build-order 2021-07-04 00:02:29 +02:00
Oliver
6f3ff6c8e9 Fix: New translations django.po from Crowdin 2021-07-03 22:44:13 +10:00
Oliver
d1e9505acb Fix: New translations django.po from Crowdin 2021-07-03 22:44:12 +10:00
Oliver
c84347a247 Fix: New translations django.po from Crowdin 2021-07-03 22:44:10 +10:00
Oliver
f77ec57bfb Fix: New translations django.po from Crowdin 2021-07-03 22:44:09 +10:00
Oliver
b564c662c7 Fix: New translations django.po from Crowdin 2021-07-03 22:44:08 +10:00
Oliver
87f95c9d26 Fix: New translations django.po from Crowdin 2021-07-03 22:44:06 +10:00
Oliver
484746baf3 Fix: New translations django.po from Crowdin 2021-07-03 22:44:05 +10:00
Oliver
4aa83abdc6 Fix: New translations django.po from Crowdin 2021-07-03 22:44:04 +10:00
Oliver
84200754aa Fix: New translations django.po from Crowdin 2021-07-03 22:44:03 +10:00
github-actions[bot]
f44f78cd79 updated translation base 2021-07-03 12:15:33 +00:00
Oliver
20b0e399c0
Merge pull request #1716 from SchrodingersGat/drf-api-forms
[WIP] API Forms
2021-07-03 22:14:26 +10:00
Oliver
3cc9299b41 Refactor SOLineItemCreate view 2021-07-03 21:56:29 +10:00
Oliver
699b21f6fd Remove broken URL 2021-07-03 21:46:08 +10:00
Oliver
889834b693 Refactor POLineItemCreate form 2021-07-03 21:43:22 +10:00
Oliver
c524f754e9 Allow null values for purchase_price and sale_price 2021-07-03 21:27:03 +10:00
Oliver
25a80d2aa7 Fix form filters 2021-07-03 21:21:32 +10:00
Oliver
8e280b6328 Increment API version 2021-07-03 20:37:50 +10:00
Oliver
2b7805e668 PEP fix 2021-07-03 20:34:30 +10:00
Oliver
8d1928f181 Typo fix 2021-07-03 20:29:23 +10:00
Oliver
ce703bf94b Adds detail API endpoint for StcokItemTracking model 2021-07-03 20:26:33 +10:00
Oliver
5c1fddd96d JS bug fix 2021-07-03 16:28:03 +10:00
Oliver
143622f82c Fix: New translations django.po from Crowdin 2021-07-03 16:27:17 +10:00
Oliver
a31fad67f3 Fix: New translations django.po from Crowdin 2021-07-03 16:27:16 +10:00
Oliver
3f9f0ba805 Fix: New translations django.po from Crowdin 2021-07-03 16:27:15 +10:00
Oliver
d4bcfd8c46 Fix: New translations django.po from Crowdin 2021-07-03 16:27:14 +10:00
Oliver
681c885921 Fix: New translations django.po from Crowdin 2021-07-03 16:27:12 +10:00
Oliver
9eba4c2485 Fix: New translations django.po from Crowdin 2021-07-03 16:27:11 +10:00
Oliver
c4659a688e Fix: New translations django.po from Crowdin 2021-07-03 16:27:10 +10:00
Oliver
f632e379dd Fix: New translations django.po from Crowdin 2021-07-03 16:27:08 +10:00
Oliver
d16277f11f Fix: New translations django.po from Crowdin 2021-07-03 16:27:07 +10:00
github-actions[bot]
7ad74c32b5 updated translation base 2021-07-03 06:24:34 +00:00
Oliver
45704f7a8d
Merge pull request #1747 from matmair/depleted-stock
Depleted stock on start page
2021-07-03 16:23:27 +10:00
Oliver
83256b1014 Refactor BomItemDelete form 2021-07-03 16:10:41 +10:00
Oliver
ba1b37fc2a Fix: New translations django.po from Crowdin 2021-07-03 13:16:26 +10:00
Oliver
18d367b4d8 Fix: New translations django.po from Crowdin 2021-07-03 13:16:24 +10:00
Oliver
f34233b978 Fix: New translations django.po from Crowdin 2021-07-03 13:16:23 +10:00
Oliver
0c27325e74 Fix: New translations django.po from Crowdin 2021-07-03 13:16:22 +10:00
Oliver
037c5a239c Fix: New translations django.po from Crowdin 2021-07-03 13:16:20 +10:00
Oliver
35c95732f2 Fix: New translations django.po from Crowdin 2021-07-03 13:16:19 +10:00
Oliver
2a391e1d61 Fix: New translations django.po from Crowdin 2021-07-03 13:16:18 +10:00
Oliver
d1436d154c Fix: New translations django.po from Crowdin 2021-07-03 13:16:15 +10:00
Oliver
eb5b386009 Fix: New translations django.po from Crowdin 2021-07-03 13:16:14 +10:00
Oliver
359e92cd8e Merge remote-tracking branch 'inventree/master' into drf-api-forms
# Conflicts:
#	InvenTree/InvenTree/static/css/inventree.css
2021-07-03 12:59:13 +10:00
github-actions[bot]
9323a91073 updated translation base 2021-07-03 02:56:42 +00:00
Oliver
2b32f04af2
Merge pull request #1712 from matmair/one-pricing-view
One pricing view
2021-07-03 12:55:34 +10:00
Oliver
67a35dc879
New Crowdin updates (#1751)
* 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
2021-07-03 12:46:23 +10:00
Oliver
77c3aa5379 Use custom currency choices 2021-07-03 12:45:59 +10:00
Oliver
90a3a8a288 Merge remote-tracking branch 'inventree/master' into drf-api-forms 2021-07-03 12:35:40 +10:00
Oliver
55f8fefe79 Remove old test 2021-07-03 12:33:28 +10:00
github-actions[bot]
3c8cba01b1 updated translation base 2021-07-03 02:06:35 +00:00
Oliver
d8f5cc7f56
Merge pull request #1744 from matmair/stock-table-has-price
Stock table filter: has purchase price
2021-07-03 12:05:29 +10:00
github-actions[bot]
2a10e4a69b updated translation base 2021-07-03 02:00:57 +00:00
Oliver
1d5429f07e
Merge pull request #1750 from matmair/stock-table-supplier-part
Stock table add supplier part column
2021-07-03 11:59:46 +10:00
Matthias
16fafbfb30 sock table link to stock 2021-07-03 02:05:37 +02:00
Matthias
57ce82de32 show supplier_part in stock-table
#1323
2021-07-03 02:04:39 +02:00
Matthias
ffa9dd18cf adding new fields into table 2021-07-03 01:49:18 +02:00
Matthias
4f432d4db2 extend api with issuer
#1356
2021-07-03 01:47:54 +02:00
github-actions[bot]
f6e6b82df5 updated translation base 2021-07-02 23:10:57 +00:00
Oliver
802294632d
Merge pull request #1748 from matmair/email-warning
changes email-warning to yellow #1732
2021-07-03 09:09:51 +10:00
github-actions[bot]
7b8d056d19 updated translation base 2021-07-02 22:41:45 +00:00
Matthias
f46d9537ec changes email-warning to yellow #1732 2021-07-03 00:36:07 +02:00
Matthias
23bd6acc94 changed doc string 2021-07-03 00:18:41 +02:00
Matthias
54cb8fa736 adds depleted stock to index 2021-07-03 00:08:00 +02:00
Matthias
1bfa3cdd63 makes currency selection human-readable 2021-07-02 20:02:15 +02:00
Oliver
8c3a4b60ab Refactoring forms for order line items
- Required some fixes for money serializer
-
2021-07-03 01:17:29 +10:00
Matthias
f8e2d53ad4 Merge branch 'master' of https://github.com/inventree/InvenTree into one-pricing-view 2021-07-02 16:44:43 +02:00
Matthias
628e365c6a fix for bom-pricing chart not showing up 2021-07-02 16:44:25 +02:00
Oliver
1cdf03ef49 Added MinMoneyValidator to InvenTreeModelMoneyField
- Refactor edit and delete forms for PurchaseOrderLineItem
2021-07-03 00:34:41 +10:00
Matthias
f051714a75 style fix 2021-07-02 16:34:06 +02:00
Matthias
9c8717574a implement purchase price filter for stock table
Closes #1717
2021-07-02 16:31:42 +02:00
Oliver
993abd9d91 Refactor forms for sales orders 2021-07-03 00:14:36 +10:00
Oliver
984828f3bb Specify 'default' functions for 'reference' field in SalesOrder and PurchaseOrder
- Refactor CreatePurchaseOrder form
- Some migrations
2021-07-02 23:59:02 +10:00
Oliver
7e5c9aa043 Refactor PurchaseOrderEdit form 2021-07-02 23:04:53 +10:00
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
github-actions[bot]
5739b73fb0 updated translation base 2021-07-02 12:14:25 +00:00
Oliver
ded0fb5353
L10 (#1740)
* 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

* 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

* 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

* 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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-02 22:13:14 +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
bb4a53bb81 Merge remote-tracking branch 'inventree/master' into l10
# Conflicts:
#	InvenTree/locale/de/LC_MESSAGES/django.po
#	InvenTree/locale/en/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-07-02 21:48:49 +10:00
Oliver
227d202e68 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-07-02 21:48:09 +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
github-actions[bot]
bd0ef6f992 updated translation base 2021-07-02 04:52:50 +00: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
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
rgilham
c6fd2281d6 Allow BOM pricing to be valid when using internal pricing 2021-06-24 02:13:55 +02: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
Oliver
aa02377665 Updates for field rendering 2021-06-23 22:25:53 +10:00
Oliver
c387e1a6fc Working on functions to construct the various form components 2021-06-23 22:11:26 +10:00
Oliver
0d9808fbb8 Adds 'constructForm' javascript function
- Skeleton only (for now!)
2021-06-23 21:41:19 +10:00
Oliver
2c1db2a902 Further tweaks 2021-06-23 21:40:09 +10:00
Oliver
b8a3117c83 Fix unit tests 2021-06-23 21:21:39 +10:00
Oliver
82a6ff7772 Adds unit testing for fancy new metadata class 2021-06-23 20:58:05 +10:00
Oliver
eaa5913c8c Adds custom DRF metadata handler
- Limit available "actions" data to only what the user is allowed to do
2021-06-23 20:30:26 +10:00
Matthias
761aa04aba added bom-table 2021-06-23 12:16:33 +02:00
Matthias
332c0a43fd clearer headings 2021-06-23 12:16:04 +02:00
Oliver
058e53459b Add simple function for determining OPTIONS 2021-06-23 20:07:56 +10:00
Oliver
92967af2ad Fix: New translations django.po from Crowdin 2021-06-23 19:52:53 +10:00