Commit Graph

6052 Commits

Author SHA1 Message Date
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
github-actions[bot]
7b5e335f28 updated translation base 2021-07-08 01:32:12 +00:00
github-actions[bot]
5f07fdf870 updated translation base 2021-07-08 01:14:03 +00: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
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
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
github-actions[bot]
1ab8ece1ac updated translation base 2021-07-05 07:56:07 +00: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
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
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
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
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
Oliver
6d46313149 Fix: New translations django.po from Crowdin 2021-06-23 19:52:52 +10:00
Oliver
da9e12a170 Fix: New translations django.po from Crowdin 2021-06-23 19:52:50 +10:00
Oliver
9a1af951ee Fix: New translations django.po from Crowdin 2021-06-23 19:52:49 +10:00
Oliver
615ff8d492 Fix: New translations django.po from Crowdin 2021-06-23 19:52:47 +10:00
Oliver
efbf6f75f3 Fix: New translations django.po from Crowdin 2021-06-23 19:52:46 +10:00
Oliver
eb9cef3ada Fix: New translations django.po from Crowdin 2021-06-23 19:52:44 +10:00
Oliver
b584b5eff3 Fix: New translations django.po from Crowdin 2021-06-23 19:52:43 +10:00
Oliver
ba8ed0593a Fix: New translations django.po from Crowdin 2021-06-23 19:52:42 +10:00
github-actions[bot]
05ca03e005 updated translation base 2021-06-23 09:51:18 +00:00
Oliver
f0db9bc3d5 Live update of Company image 2021-06-23 19:29:41 +10:00
Oliver
70a073be21 Live update part image 2021-06-23 19:28:23 +10:00
Oliver
2e1ad0c245 Change some warnings to infos 2021-06-23 18:54:01 +10:00
Oliver
9f94140355 Fix: New translations django.po from Crowdin 2021-06-23 12:13:09 +10:00
Oliver
6d8f65dab3 Fix: New translations django.po from Crowdin 2021-06-23 12:13:08 +10:00
Oliver
ce5f88f44b Fix: New translations django.po from Crowdin 2021-06-23 12:13:06 +10:00
Oliver
74d042bef7 Fix: New translations django.po from Crowdin 2021-06-23 12:13:05 +10:00
Oliver
e4a8a94d01 Fix: New translations django.po from Crowdin 2021-06-23 12:13:03 +10:00
Oliver
348293a620 Fix: New translations django.po from Crowdin 2021-06-23 12:13:02 +10:00
Oliver
5bb8c527f1 Fix: New translations django.po from Crowdin 2021-06-23 12:13:01 +10:00
Oliver
fe8a98f731 Fix: New translations django.po from Crowdin 2021-06-23 12:12:59 +10:00
Oliver
228aefb46f Fix: New translations django.po from Crowdin 2021-06-23 12:12:58 +10:00
github-actions[bot]
2936212044 updated translation base 2021-06-23 01:55:35 +00:00
Oliver
36e6b9f164 Set allow_null flag on image fields 2021-06-23 11:40:37 +10:00
Oliver
5ba7aeaa27 Fixes:
- Use DRF ImageField, not FileField
- Ensure that permissions get updated correctly in 'test' mode
- Allow file upload in the APITester class
2021-06-23 10:28:21 +10:00
Matthias
522ca161d6 added permissions-check to bom 2021-06-23 01:26:07 +02:00
Matthias
c8ff6ee0e2 removing old views 2021-06-23 01:11:25 +02:00
Matthias
093a181751 initial structure for single pricing view 2021-06-23 01:07:07 +02:00
Oliver
a866001ffe Bump API version to 6 2021-06-23 08:40:51 +10:00
Oliver
878f26c770 Enable upload of company image via the API 2021-06-23 08:39:06 +10:00
Oliver
f199feb8d9 Use the part detail API for uploading a new image 2021-06-23 08:34:45 +10:00
Oliver
b8e4b58df0 Catch potential error updating image that does not exist... 2021-06-22 22:23:27 +10:00
Oliver
2fc7c3d883 fix typo 2021-06-22 22:16:11 +10:00
Oliver
e29594811b Allow direct upload of images via the API 2021-06-22 22:09:30 +10:00
Oliver
fe5e6bb389 Fix: New translations django.po from Crowdin 2021-06-22 21:58:21 +10:00
Oliver
fcb3f59929 Fix: New translations django.po from Crowdin 2021-06-22 21:58:19 +10:00
Oliver
f4d4737ba6 Fix: New translations django.po from Crowdin 2021-06-22 21:58:18 +10:00
Oliver
a8490568e8 Fix: New translations django.po from Crowdin 2021-06-22 21:58:17 +10:00
Oliver
7a88a8d539 Fix: New translations django.po from Crowdin 2021-06-22 21:58:16 +10:00
Oliver
dce9493cef Fix: New translations django.po from Crowdin 2021-06-22 21:58:14 +10:00
Oliver
91d24e98b3 Fix: New translations django.po from Crowdin 2021-06-22 21:58:13 +10:00
Oliver
ee410ab538 Fix: New translations django.po from Crowdin 2021-06-22 21:58:12 +10:00
Oliver
a2cd2b1894 Fix: New translations django.po from Crowdin 2021-06-22 21:58:11 +10:00
github-actions[bot]
fb6b23bb9c updated translation base 2021-06-22 11:29:20 +00:00
Oliver
962badc36d
Merge pull request #1682 from matmair/order-modal-show-price
Order modal show price
2021-06-22 21:27:59 +10:00
github-actions[bot]
2ea66edae9 updated translation base 2021-06-22 11:16:58 +00:00
github-actions[bot]
6eeffc6730 updated translation base 2021-06-22 10:42:09 +00:00
Oliver
fcd38c16d8 Add workflow to ensure that the python bindings build whenever there's a push to master 2021-06-22 20:26:55 +10:00
github-actions[bot]
37645f480f updated translation base 2021-06-22 07:25:04 +00:00
Oliver
1456868d03 Add default values for line item serializers
- Once https://github.com/inventree/InvenTree/issues/1687 is fixed, remove default values
2021-06-22 17:03:21 +10:00
Oliver
4fe6562d29 PEP fixes 2021-06-22 16:43:49 +10:00
Oliver
26dd9c10a4 Fixes for SalesOrder API 2021-06-22 16:43:38 +10:00
Oliver
3fa3ce06a1 Fixes for PurchaseOrder API interface
- Allow DELETE endpoint for PurchaseOrder
- Remove 'read_only' attribute for 'reference' field
- Add extra functionality to API test class
- Add unit testing
2021-06-22 16:28:42 +10:00
Oliver
cb9060abfc Fix: New translations django.po from Crowdin 2021-06-22 13:42:50 +10:00
Oliver
737853dc1e Fix: New translations django.po from Crowdin 2021-06-22 13:42:49 +10:00
Oliver
cf2944d75c Fix: New translations django.po from Crowdin 2021-06-22 13:42:48 +10:00
Oliver
abfdcc6da1 Fix: New translations django.po from Crowdin 2021-06-22 13:42:47 +10:00
Oliver
dcaea8f960 Fix: New translations django.po from Crowdin 2021-06-22 13:42:45 +10:00
Oliver
7c7104880c Fix: New translations django.po from Crowdin 2021-06-22 13:42:43 +10:00
Oliver
a650df4d1c Fix: New translations django.po from Crowdin 2021-06-22 13:42:42 +10:00
Oliver
fb4c7bd271 Fix: New translations django.po from Crowdin 2021-06-22 13:42:41 +10:00
Oliver
737fea458a Fix: New translations django.po from Crowdin 2021-06-22 13:42:39 +10:00
github-actions[bot]
f1e5feaef2 updated translation base 2021-06-22 03:40:12 +00:00
Oliver
061a120af2
Merge pull request #1705 from SchrodingersGat/part-validation
API Validation fixes
2021-06-22 13:39:05 +10:00
Oliver
979ef674d6 Update data for unit test fixtures 2021-06-22 13:24:03 +10:00
Oliver
eae9ff7d1d More unit test fixes 2021-06-22 11:54:18 +10:00
Oliver
6ca7c8e56a Fix: New translations django.po from Crowdin 2021-06-22 11:23:50 +10:00
Oliver
a95bab03c1 Fix: New translations django.po from Crowdin 2021-06-22 11:23:48 +10:00
Oliver
e4840ab728 Fix: New translations django.po from Crowdin 2021-06-22 11:23:47 +10:00
Oliver
b02c9a6dab Fix: New translations django.po from Crowdin 2021-06-22 11:23:46 +10:00
Oliver
369d62bd6f Fix: New translations django.po from Crowdin 2021-06-22 11:23:44 +10:00
Oliver
4dffa3cd5d Fix: New translations django.po from Crowdin 2021-06-22 11:23:43 +10:00
Oliver
11a1507ce8 Fix: New translations django.po from Crowdin 2021-06-22 11:23:42 +10:00
Oliver
794c93a236 Fix: New translations django.po from Crowdin 2021-06-22 11:23:41 +10:00
Oliver
155bce9bd8 Fix: New translations django.po from Crowdin 2021-06-22 11:23:39 +10:00
github-actions[bot]
c1c4f7403e updated translation base 2021-06-22 01:09:59 +00:00
Oliver
650d31ae32 Remove debug statements 2021-06-22 10:43:00 +10:00
Oliver
6d2cd78d29 Fixes for unit tests 2021-06-22 10:36:04 +10:00
Oliver
6886570d0f Bug fix for build order allocation sorting 2021-06-22 10:30:15 +10:00
Oliver
9475af62ae Style fixes 2021-06-22 10:12:44 +10:00
Oliver
c62ba5eb12 Perform a "full_clean" on serialized model
- DRF does not by deault run validate_unique on the model
- Need to check if we are "creating" or "updating" a model
- Catch and re-throw errors in the correct format
- Unit tests
2021-06-22 10:09:19 +10:00
Oliver
c3fc04e872 Unit testing for part duplication 2021-06-22 09:35:34 +10:00
Oliver
a38835022a Better management of unique constraint for Part 2021-06-22 09:33:07 +10:00
Oliver
40fcfe1f47 Reduce noise in logs 2021-06-22 09:32:36 +10:00
Oliver
8c45958b36 Fix: New translations django.po from Crowdin 2021-06-22 08:31:36 +10:00
Oliver
c489bafd10 Fix: New translations django.po from Crowdin 2021-06-22 08:31:35 +10:00
Oliver
d97c3af5b6 Fix: New translations django.po from Crowdin 2021-06-22 08:31:34 +10:00
Oliver
0b1724be52 Fix: New translations django.po from Crowdin 2021-06-22 08:31:32 +10:00
Oliver
37cd3a8ca7 Fix: New translations django.po from Crowdin 2021-06-22 08:31:31 +10:00
Oliver
18f8fd8778 Fix: New translations django.po from Crowdin 2021-06-22 08:31:30 +10:00
Oliver
8387321ed4 Fix: New translations django.po from Crowdin 2021-06-22 08:31:28 +10:00
Oliver
4b49d2e086 Fix: New translations django.po from Crowdin 2021-06-22 08:31:27 +10:00
Oliver
431d935102 Fix: New translations django.po from Crowdin 2021-06-22 08:31:26 +10:00
github-actions[bot]
feb90e4871 updated translation base 2021-06-21 22:28:03 +00:00
Matthias
b503c62464 Merge branch 'master' of https://github.com/inventree/InvenTree into order-modal-show-price 2021-06-22 00:27:56 +02:00
Matthias
c8defae575 fixing allocation sorting 2021-06-22 00:03:54 +02:00
Matthias
8b515571ca I think a fix for #1663
Closes #1663
2021-06-21 23:33:27 +02:00
Oliver
ecae24008c Fix: New translations django.po from Crowdin 2021-06-22 05:13:47 +10:00
Adam Walsh
d1a2ed9af1
Fix supplier part view/edit without a manufacturer
Fixes the following issues when a supplier part was created with an MPN but no manufacturer was assigned:
- Viewing a supplier part stock item
- Editing a supplier part stock item
2021-06-21 11:20:43 -04:00
Oliver
8fd41f5ecf Unit testing for default values 2021-06-21 21:46:22 +10:00
github-actions[bot]
3228c0673c updated translation base 2021-06-21 10:58:42 +00:00
Oliver
f90730d866
Merge pull request #1699 from SchrodingersGat/purchase-price-migration
Data migration to copy missing purchase price information to stock items
2021-06-21 20:57:23 +10:00
Oliver
02540edd58 Copy purchase price information across in the data migration 2021-06-21 20:30:15 +10:00
Oliver
147ee658ec Fix: New translations django.po from Crowdin 2021-06-21 18:00:30 +10:00
Oliver
44d5e6cf69 Fix: New translations django.po from Crowdin 2021-06-21 18:00:29 +10:00
Oliver
9efbaa4f13 Fix: New translations django.po from Crowdin 2021-06-21 18:00:26 +10:00
Oliver
70cbee1a55 Fix: New translations django.po from Crowdin 2021-06-21 18:00:25 +10:00
Oliver
502cf0cd2b Fix: New translations django.po from Crowdin 2021-06-21 18:00:22 +10:00
Oliver
73d1a99bf4 Fix: New translations django.po from Crowdin 2021-06-21 18:00:20 +10:00
Oliver
021573c91e Fix: New translations django.po from Crowdin 2021-06-21 18:00:17 +10:00
Oliver
1eb2bcc575 Fix: New translations django.po from Crowdin 2021-06-21 18:00:16 +10:00
Oliver
f8cba995e6 Fix: New translations django.po from Crowdin 2021-06-21 18:00:13 +10:00
Oliver
ff33cc43bd Create initial migration file 2021-06-21 17:28:41 +10:00
github-actions[bot]
d9217b22f7 updated translation base 2021-06-21 07:26:53 +00:00
Oliver
044650ca10
Merge pull request #1698 from SchrodingersGat/po-stock-pricing
Displays "purchase order" column in StockItem table
2021-06-21 17:19:38 +10:00
Oliver
6d29418364 Prevent "rebuild" command from running certain things 2021-06-21 17:03:00 +10:00
Oliver
e6598b5115 Displays "purchase order" column in StockItem table 2021-06-21 16:58:39 +10:00
Oliver
bffdb845ec Fix: New translations django.po from Crowdin 2021-06-21 16:54:38 +10:00
Oliver
b919455026 Fix: New translations django.po from Crowdin 2021-06-21 16:54:37 +10:00
Oliver
35e9f53392 Fix: New translations django.po from Crowdin 2021-06-21 16:54:35 +10:00
Oliver
8a8be8f2a3 Fix: New translations django.po from Crowdin 2021-06-21 16:54:34 +10:00
Oliver
33452a39a7 Fix: New translations django.po from Crowdin 2021-06-21 16:54:33 +10:00
Oliver
98e810d82c Fix: New translations django.po from Crowdin 2021-06-21 16:54:32 +10:00
Oliver
f781deda00 Fix: New translations django.po from Crowdin 2021-06-21 16:54:30 +10:00
Oliver
637323fcc1 Fix: New translations django.po from Crowdin 2021-06-21 16:54:29 +10:00
Oliver
1a072bb0cd Fix: New translations django.po from Crowdin 2021-06-21 16:54:28 +10:00
github-actions[bot]
58d28e5b6d updated translation base 2021-06-21 06:40:43 +00:00
Oliver
5e5fc35655
Merge pull request #1688 from SchrodingersGat/supplier-part-parameters
Adds "parameters" for manufacturer parts
2021-06-21 16:39:15 +10:00
Oliver
e0e560352e Add forms / views for ManufacturerPartParameter CRUD 2021-06-21 16:14:58 +10:00
Oliver
04b216253d Ok, that was a bad idea. 2021-06-21 11:30:20 +10:00
Oliver
908039e1db Perform unique checks for InvenTreeModelSerializer in DRF
- Prevents ValidationError from throwing in the wrong spot and not being handled
2021-06-21 11:10:29 +10:00
github-actions[bot]
b3960999d4 updated translation base 2021-06-21 00:54:09 +00:00
Oliver
68a1181421 Fix: New translations django.po from Crowdin 2021-06-21 09:45:55 +10:00
Oliver
3e15705674 Fix: New translations django.po from Crowdin 2021-06-21 09:45:53 +10:00
Oliver
fc46cc8393 Fix: New translations django.po from Crowdin 2021-06-21 09:45:52 +10:00
Oliver
f5ec6000a3 Fix: New translations django.po from Crowdin 2021-06-21 09:45:51 +10:00
Oliver
9ffb9552a9 Fix: New translations django.po from Crowdin 2021-06-21 09:45:50 +10:00
Oliver
6eefc2ed0c Fix: New translations django.po from Crowdin 2021-06-21 09:45:49 +10:00
Oliver
7afe1acb0a Fix: New translations django.po from Crowdin 2021-06-21 09:45:47 +10:00
Oliver
d3f8620524 Fix: New translations django.po from Crowdin 2021-06-21 09:45:46 +10:00
Oliver
6494c9d7d3 Fix: New translations django.po from Crowdin 2021-06-21 09:45:45 +10:00
Oliver
213e4dccc5 Add model to permission set 2021-06-21 08:35:54 +10:00
github-actions[bot]
fe68bebc47 updated translation base 2021-06-20 22:34:38 +00:00
Oliver
637033cf7d
Merge pull request #1692 from matmair/part-table-cat-sort
Support sorting by category in part-table
2021-06-21 08:33:09 +10:00
github-actions[bot]
b2896622e1 updated translation base 2021-06-20 22:28:30 +00:00
Oliver
b7a5a7f524
Merge pull request #1691 from matmair/purchase-price-zero
Purchase price zero
2021-06-21 08:26:42 +10:00
Oliver
34485f1224 Fix: New translations django.po from Crowdin 2021-06-21 08:11:27 +10:00
Oliver
0b364d4398 Fix: New translations django.po from Crowdin 2021-06-21 08:11:26 +10:00
Oliver
e841b26b72 Fix: New translations django.po from Crowdin 2021-06-21 08:11:24 +10:00
Oliver
7907c4296a Fix: New translations django.po from Crowdin 2021-06-21 08:11:23 +10:00
Oliver
007fcb446f Fix: New translations django.po from Crowdin 2021-06-21 08:11:22 +10:00
Oliver
4c2b392bd3 Fix: New translations django.po from Crowdin 2021-06-21 08:11:20 +10:00
Oliver
e570de204a Fix: New translations django.po from Crowdin 2021-06-21 08:11:19 +10:00
Oliver
63b0e5f8ca Fix: New translations django.po from Crowdin 2021-06-21 08:11:18 +10:00
Oliver
527dfe0bab Fix: New translations django.po from Crowdin 2021-06-21 08:11:17 +10:00
github-actions[bot]
e73e274837 updated translation base 2021-06-20 21:37:52 +00:00
Oliver
3293071c8e Fix: New translations django.po from Crowdin 2021-06-21 07:05:46 +10:00
Matthias
80e47b6f76 addd in sorting for category
fixes #1689
2021-06-20 22:49:06 +02:00
Matthias
a0b83d530c refactor 2021-06-20 20:19:11 +02:00
Matthias
59aae51652 show stock history starting by 1 element 2021-06-20 20:17:01 +02:00
Matthias
b32a6b50d2 fixes #1671 2021-06-20 20:16:14 +02:00
Matthias
4d0ce643a1 fix for timezone warning on heartbeat 2021-06-20 19:53:17 +02:00
Matthias
a3517b9313 fixes: response data stays persistent throughout views 2021-06-20 18:52:55 +02:00
Oliver
8a8b310195 Add some more inlines in the admin interface 2021-06-21 00:46:15 +10:00
Oliver
70b6a3c13f Display table of parameters 2021-06-21 00:39:18 +10:00
Oliver
a00441a1c0 Adds API endpoints for ManufacturerPartParameter mdoel 2021-06-21 00:28:28 +10:00
Oliver
bea7ab7175 Add python version information to the "about" window 2021-06-21 00:25:27 +10:00
Oliver
0013eb4c23 Adds inline for SupplierPart 2021-06-21 00:03:16 +10:00
Oliver
8188ba86a7 Adds tabular inline class for ManufacturerPartParameter
- Super cool!
2021-06-21 00:00:55 +10:00
Oliver
3fcb552759 Register admin class for ManufacturerPartParameter 2021-06-20 23:54:03 +10:00
Oliver
310f369394 Adds admin interface for ManufacturerPart 2021-06-20 23:49:44 +10:00
Matthias
b4412ef575 also show prices of the value 0 2021-06-20 13:32:52 +02:00
Oliver
2473318828 Add ManufacturerPartParameter model 2021-06-20 17:50:07 +10:00
Oliver
847d946fa4 Bug fixes 2021-06-20 17:39:00 +10:00
github-actions[bot]
54a26dcdb6 updated translation base 2021-06-20 07:29:07 +00:00
Matthias
452d2004ce added handling for no supplier price 2021-06-19 23:46:31 +02:00
Matthias
7d5aa8189d Merge branch 'master' of https://github.com/inventree/InvenTree into part-import 2021-06-18 23:30:54 +02:00
Matthias
b86793703e Merge branch 'part-import' of https://github.com/matmair/InvenTree into part-import 2021-06-18 23:14:48 +02:00
Matthias
59e6cc1a10 Merge branch 'master' of https://github.com/inventree/InvenTree into part-import 2021-06-18 23:10:59 +02:00
Matthias
15804f873b Merge branch 'master' of https://github.com/inventree/InvenTree into order-modal-show-price 2021-06-18 16:46:11 +02:00
github-actions[bot]
bbfe761fec updated translation base 2021-06-18 12:10:15 +00:00
Oliver
9a4ccedf5c Adds a management command to rebuild MPTT models
- Important to do after importing records / fixtures!
- Otherwise very strange things might happen especially when you try to use the API...
2021-06-18 21:53:15 +10:00
Oliver
431a3f17ee Fix: New translations django.po from Crowdin 2021-06-18 20:58:29 +10:00
Oliver
0c479eba8c Fix: New translations django.po from Crowdin 2021-06-18 20:58:28 +10:00
Oliver
55d29c0825 Fix: New translations django.po from Crowdin 2021-06-18 20:58:26 +10:00
Oliver
fc1308b13e Fix: New translations django.po from Crowdin 2021-06-18 20:58:25 +10:00
Oliver
ecfd4a206f Fix: New translations django.po from Crowdin 2021-06-18 20:58:23 +10:00
Oliver
877dd72781 Fix: New translations django.po from Crowdin 2021-06-18 20:58:22 +10:00
Oliver
c36030d232 Fix: New translations django.po from Crowdin 2021-06-18 20:58:21 +10:00
Oliver
b5b5398d43 Fix: New translations django.po from Crowdin 2021-06-18 20:58:19 +10:00
Oliver
2f887f08e5 Fix: New translations django.po from Crowdin 2021-06-18 20:58:18 +10:00
github-actions[bot]
139125ef95 updated translation base 2021-06-18 10:11:45 +00:00
Oliver
e68a4abdf2 Error: wrong error 2021-06-18 19:51:54 +10:00
Oliver
3fb57abe66 Error catching 2021-06-18 19:39:06 +10:00
Oliver
34c34487b5 PEP style fix 2021-06-18 19:21:46 +10:00
Oliver
778aa0314d Load and display build order allocation items via AJAX 2021-06-18 19:18:35 +10:00
Oliver
245c9bfd28 Enhancement for the BuildItem API / serializer
- Add optional "part_detail" information
- Add optional "build_detail" information
- Add optional "location_detail" information
2021-06-18 19:08:54 +10:00
Matthias Mair
8d317581dd
Merge branch 'master' into order-modal-show-price 2021-06-18 09:41:10 +02:00
Oliver
10ecddf9b4 Fixes after rebase 2021-06-18 17:25:24 +10:00
Oliver Walters
0b8a50cd92 Add 'location_detail' filter 2021-06-18 16:51:34 +10:00
Oliver Walters
caf52c6ce5 Add optional detail elements to SOAllocation API 2021-06-18 16:49:56 +10:00
Oliver Walters
ad8dbb5900 Add API LIST endpoint for SalesOrderAllocations 2021-06-18 16:48:32 +10:00
Oliver
73c727ee76 Fix: New translations django.po from Crowdin 2021-06-18 11:38:19 +10:00
Oliver
4073f0d066 Fix: New translations django.po from Crowdin 2021-06-18 11:38:18 +10:00
Oliver
6448a433c9 Fix: New translations django.po from Crowdin 2021-06-18 11:38:17 +10:00
Oliver
463a604b51 Fix: New translations django.po from Crowdin 2021-06-18 11:38:15 +10:00
Oliver
c37e5b1de7 Fix: New translations django.po from Crowdin 2021-06-18 11:38:14 +10:00
Oliver
de807d623e Fix: New translations django.po from Crowdin 2021-06-18 11:38:13 +10:00
Oliver
2e446a12e1 Fix: New translations django.po from Crowdin 2021-06-18 11:38:11 +10:00
Oliver
d923035eb0 Fix: New translations django.po from Crowdin 2021-06-18 11:38:10 +10:00
Oliver
551cde708e Fix: New translations django.po from Crowdin 2021-06-18 11:38:09 +10:00
github-actions[bot]
d547848e53 updated translation base 2021-06-18 00:37:52 +00:00
github-actions[bot]
f15dd08a9d updated translation base 2021-06-18 00:37:06 +00:00
Oliver
43478a0be7
Merge pull request #1634 from matmair/internal-price
Internal price
2021-06-18 10:36:29 +10:00
Oliver
bb910a09fb
Merge pull request #1679 from matmair/fix-for-1678
fix for part with no bom-price
2021-06-18 10:35:59 +10:00
github-actions[bot]
a90a84fa6f updated translation base 2021-06-18 00:31:31 +00:00
Oliver
b6e3df4e6b
Merge pull request #1680 from matmair/modal-options
more modal options
2021-06-18 10:30:18 +10:00
Oliver
1546b3f56b Fix: New translations django.po from Crowdin 2021-06-18 10:28:13 +10:00
Oliver
0154f43373 Fix: New translations django.po from Crowdin 2021-06-18 08:58:22 +10:00
github-actions[bot]
6b62475a4f updated translation base 2021-06-17 22:20:03 +00:00
Matthias
2cbdeae914 style-fix 2021-06-18 00:18:45 +02:00
Oliver
e12e6b0346 Fix: New translations django.po from Crowdin 2021-06-18 08:01:04 +10:00
Matthias
865a2b4af8 Merge branch 'modal-options' of https://github.com/matmair/InvenTree into order-modal-show-price 2021-06-17 23:44:45 +02:00
Matthias
f0dd543ffa render price in oer-modal if enabled in settings 2021-06-17 23:44:22 +02:00
Matthias
a3a623a5ca update-button for modal, repeat 1st step on use 2021-06-17 23:24:32 +02:00
Matthias
2d8b96a6b8 setting to control visibility of price 2021-06-17 23:15:42 +02:00
Matthias
4c7508cd6b tag to call a method with (multiple)args 2021-06-17 23:11:31 +02:00
Matthias
58b6bbb236 tag to read out dict value 2021-06-17 23:09:50 +02:00
Oliver
47e32e78ce Fix: New translations django.po from Crowdin 2021-06-18 07:02:10 +10:00
Oliver
64b6863e4c Fix: New translations django.po from Crowdin 2021-06-18 06:02:14 +10:00
Oliver
43214d8e4c Fix: New translations django.po from Crowdin 2021-06-18 05:06:49 +10:00
Oliver
5d8c6224e8 Fix: New translations django.po from Crowdin 2021-06-18 04:03:07 +10:00
Matthias
c74ee4e925 doc for option.buttons 2021-06-17 19:24:08 +02:00
Matthias
96c29847e1 add custom buttons with response 2021-06-17 19:23:30 +02:00
Matthias
3d17388b48 set modal title with response 2021-06-17 19:22:00 +02:00
Matthias
ebe2ae77a5 hide error message with response 2021-06-17 19:18:34 +02:00
Oliver
0a619dce86 Fix: New translations django.po from Crowdin 2021-06-18 03:06:40 +10:00
Matthias
789865b996 style-fix 2021-06-17 18:25:05 +02:00
Matthias
997d68694e fix for part with no bom-price #1678 2021-06-17 18:21:11 +02:00
Matthias
6e77029d7d Revert "fix for part with no bom"
This reverts commit dd58f89977.
2021-06-17 18:12:41 +02:00
Oliver
436abf31a8 Fix: New translations django.po from Crowdin 2021-06-18 02:09:40 +10:00
Oliver
17343cbfad Fix: New translations django.po from Crowdin 2021-06-18 02:09:39 +10:00
Oliver
21f541f188 Fix: New translations django.po from Crowdin 2021-06-18 00:58:15 +10:00
Matthias Mair
44464de2b6
Merge branch 'inventree:master' into internal-price 2021-06-17 16:42:57 +02:00
Matthias Mair
e77e89b16c
Merge branch 'inventree:master' into part-import 2021-06-17 16:42:49 +02:00
Matthias
dd58f89977 fix for part with no bom 2021-06-17 14:51:41 +02:00
github-actions[bot]
ba6a3667ad updated translation base 2021-06-17 12:40:12 +00:00
Oliver
49a60dad0a Fix: New translations django.po from Crowdin 2021-06-17 22:38:27 +10:00
Oliver
57572fe1e1 Fix: New translations django.po from Crowdin 2021-06-17 22:38:26 +10:00
Oliver
c249f4c004 Fix: New translations django.po from Crowdin 2021-06-17 22:38:25 +10:00
Oliver
bce93d9a19 Fix: New translations django.po from Crowdin 2021-06-17 22:38:22 +10:00
Oliver
4e26604b54 Fix: New translations django.po from Crowdin 2021-06-17 22:38:21 +10:00
Oliver
869eae871b Fix: New translations django.po from Crowdin 2021-06-17 22:38:19 +10:00
Oliver
f8dbd59a85 Fix: New translations django.po from Crowdin 2021-06-17 22:38:18 +10:00
Oliver
90132d32b6 Fix: New translations django.po from Crowdin 2021-06-17 22:38:15 +10:00
Oliver
485df6c6c8 Fix: New translations django.po from Crowdin 2021-06-17 22:38:14 +10:00
Oliver
bc46cca9f0
Merge pull request #1677 from SchrodingersGat/new-typo-fix
Typo fix for excluded commands
2021-06-17 22:37:45 +10:00
github-actions[bot]
a87270b371 updated translation base 2021-06-17 12:37:45 +00:00
Oliver
8766c80233
Merge pull request #1645 from matmair/pricing-reformat
Pricing reformat
2021-06-17 22:36:07 +10:00
Oliver Walters
f6241031f6 Typo fix for excluded commands
(cherry picked from commit cf7087747b)
2021-06-17 22:21:26 +10:00
Oliver
1634926574 Fix: New translations django.po from Crowdin 2021-06-17 18:06:59 +10:00
Oliver
773d4a7039 Fix: New translations django.po from Crowdin 2021-06-17 18:06:57 +10:00
Oliver
35342a5c7b Fix: New translations django.po from Crowdin 2021-06-17 18:06:55 +10:00
Oliver
5b3e396a98 Fix: New translations django.po from Crowdin 2021-06-17 18:06:53 +10:00
Oliver
2fb8e83577 Fix: New translations django.po from Crowdin 2021-06-17 18:06:52 +10:00
Oliver
0a3916fec7 Fix: New translations django.po from Crowdin 2021-06-17 18:06:50 +10:00
Oliver
b8c496c869 Fix: New translations django.po from Crowdin 2021-06-17 18:06:49 +10:00
Oliver
4ec2956cc7 Fix: New translations django.po from Crowdin 2021-06-17 18:06:47 +10:00
Oliver
6a62e3315e Fix: New translations django.po from Crowdin 2021-06-17 18:06:45 +10:00
github-actions[bot]
bfd509a1de updated translation base 2021-06-17 07:02:35 +00:00
Oliver
93e83d0bf9
Merge pull request #1587 from nwns/feature/see_default_location
feat(purchase orders): show the preferred location for each PO Line
2021-06-17 17:01:05 +10:00
Oliver
2c3f0fc95e
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
2021-06-17 15:48:24 +10:00
github-actions[bot]
3fc68a76f7 updated translation base 2021-06-16 23:12:21 +00:00
github-actions[bot]
b161a72cbe updated translation base 2021-06-16 23:12:11 +00:00
Oliver
b2975596dc
L10 (#1668)
* 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

* 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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-17 09:11:04 +10:00
Matthias
af2cfe55be missed a translation there 2021-06-17 00:51:53 +02:00
Matthias
ddd84dcd7c Merge branch 'master' of https://github.com/inventree/InvenTree into so-total 2021-06-17 00:50:39 +02:00
Oliver
69c253bee5 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-17 08:50:32 +10:00
Matthias
bbe7edbf82 totals like in #1666 2021-06-17 00:50:10 +02:00
Oliver
a8ae62e133 Merge remote-tracking branch 'inventree/master' into l10 2021-06-17 08:49:00 +10:00
Oliver
0f53a03aae Fix: New translations django.po from Crowdin 2021-06-17 08:41:06 +10:00
Oliver
d85fe7cf4c Fix: New translations django.po from Crowdin 2021-06-17 08:41:04 +10:00
Oliver
e1e3608700 Fix: New translations django.po from Crowdin 2021-06-17 08:41:03 +10:00
Oliver
431ae69ee9 Fix: New translations django.po from Crowdin 2021-06-17 08:41:02 +10:00
Oliver
5704dcc551 Fix: New translations django.po from Crowdin 2021-06-17 08:41:00 +10:00
Oliver
42ecb11dbc Fix: New translations django.po from Crowdin 2021-06-17 08:40:59 +10:00
Oliver
b59de2a9ba Fix: New translations django.po from Crowdin 2021-06-17 08:40:58 +10:00
Oliver
716167d4d0 Fix: New translations django.po from Crowdin 2021-06-17 08:40:57 +10:00
Oliver
7fd9dd4f12 Fix: New translations django.po from Crowdin 2021-06-17 08:40:55 +10:00
github-actions[bot]
7eb420409b updated translation base 2021-06-16 22:40:13 +00:00
Matthias
5d3360e63b added quantity total 2021-06-17 00:23:08 +02:00
Matthias
dac112d908 added footer total for price 2021-06-17 00:22:32 +02:00
Matthias
2fc185bd71 show footer 2021-06-16 23:57:33 +02:00
Matthias
70e0933336 total price column as per #1660 2021-06-16 23:52:00 +02:00
Oliver Walters
70f3c03b64 Merge remote-tracking branch 'upstream/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-17 00:37:50 +10:00
Oliver
0781ad525e Fix: New translations django.po from Crowdin 2021-06-17 00:02:35 +10:00
Oliver
f44959b9a8 Fix: New translations django.po from Crowdin 2021-06-17 00:02:34 +10:00
Oliver
626019323b Fix: New translations django.po from Crowdin 2021-06-17 00:02:31 +10:00
Oliver
1f10ab699f Fix: New translations django.po from Crowdin 2021-06-17 00:02:29 +10:00
Oliver
e01a3b7c5f Fix: New translations django.po from Crowdin 2021-06-17 00:02:27 +10:00
Oliver
dcb2078572 Fix: New translations django.po from Crowdin 2021-06-17 00:02:25 +10:00
Oliver
10a0eb8d70 Fix: New translations django.po from Crowdin 2021-06-17 00:02:23 +10:00
Oliver
2f9f9bd99c Fix: New translations django.po from Crowdin 2021-06-17 00:02:21 +10:00
Oliver
d5014bb08a Fix: New translations django.po from Crowdin 2021-06-17 00:02:19 +10:00
github-actions[bot]
21ccf7c4a1 updated translation base 2021-06-16 13:55:59 +00:00
Oliver
9386332de1
Update version.py 2021-06-16 23:54:42 +10:00
github-actions[bot]
a0a1ff6837 updated translation base 2021-06-16 13:54:22 +00:00
Oliver
731ea0238e
Update version.py
Bump version number
2021-06-16 23:53:58 +10:00
Oliver Walters
513449e13c Whoops, missed one 2021-06-16 23:03:38 +10:00
Oliver Walters
725d26d76f Fix default paths in InvenTree settings 2021-06-16 23:03:09 +10:00
Oliver Walters
acd7322ff0 Files under /media require session to be authenticated
References:

- https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/apache-auth/
- https://stackoverflow.com/questions/46421589/nginx-location-and-django-auth
- https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/
- https://pawamoy.github.io/posts/django-auth-server-for-shiny/
2021-06-16 21:30:25 +10:00
Oliver Walters
0821ead024 Only provide static redirects if in DEBUG mode 2021-06-15 23:51:37 +10:00
Oliver
b8df6038fb Fix: New translations django.po from Crowdin 2021-06-15 07:34:13 +10:00
Oliver
d2661ed5c2 Fix: New translations django.po from Crowdin 2021-06-15 07:34:12 +10:00
Oliver
cacb3d5f3c Fix: New translations django.po from Crowdin 2021-06-15 07:34:11 +10:00
Oliver
f0769d3298 Fix: New translations django.po from Crowdin 2021-06-15 07:34:09 +10:00
Oliver
c1499a7748 Fix: New translations django.po from Crowdin 2021-06-15 07:34:08 +10:00
Oliver
e2b529743a Fix: New translations django.po from Crowdin 2021-06-15 07:34:07 +10:00
Oliver
71cf41e7cd Fix: New translations django.po from Crowdin 2021-06-15 07:34:05 +10:00
Oliver
27a5d6843f Fix: New translations django.po from Crowdin 2021-06-15 07:34:04 +10:00
Oliver
36a3ed563f Fix: New translations django.po from Crowdin 2021-06-15 07:34:03 +10:00
github-actions[bot]
aa4cfc4c53 updated translation base 2021-06-14 21:21:17 +00:00
eeintech
08fbdf660b Fix for #1661 2021-06-14 14:19:10 -04:00
github-actions[bot]
a9636b7ec5 updated translation base 2021-06-14 11:41:16 +00:00
Oliver
f03dfa8131 Fix: New translations django.po from Crowdin 2021-06-14 00:47:23 +10:00
Oliver
3e11fc3437 Fix: New translations django.po from Crowdin 2021-06-13 23:49:06 +10:00
Matthias
447a7dd4e4 style fix 2021-06-13 15:04:57 +02:00
Matthias
3f04a57452 added test for internal prices 2021-06-13 15:01:03 +02:00
Matthias
3fb95bea7e added test for sell price breaks 2021-06-13 13:31:31 +02:00
Oliver
8b6dceb599 Fix: New translations django.po from Crowdin 2021-06-12 08:09:58 +10:00
Oliver
0f30d9961a Fix: New translations django.po from Crowdin 2021-06-12 08:09:57 +10:00
Oliver
8001a1a794 Fix: New translations django.po from Crowdin 2021-06-12 08:09:56 +10:00
Oliver
9e70674700 Fix: New translations django.po from Crowdin 2021-06-12 08:09:54 +10:00
Oliver
0dae3a1057 Fix: New translations django.po from Crowdin 2021-06-12 08:09:53 +10:00
Oliver
08d3058ad7 Fix: New translations django.po from Crowdin 2021-06-12 08:09:52 +10:00
Oliver
3be1f99380 Fix: New translations django.po from Crowdin 2021-06-12 08:09:51 +10:00
Oliver
26c682f016 Fix: New translations django.po from Crowdin 2021-06-12 08:09:50 +10:00
Oliver
c519578a21 Fix: New translations django.po from Crowdin 2021-06-12 08:09:49 +10:00
github-actions[bot]
e0c5ef3f04 updated translation base 2021-06-11 22:02:48 +00:00
Matthias
c0e50128dd display latest serial on all part-views #1648 2021-06-11 23:43:23 +02:00
github-actions[bot]
1e10f0e373 updated translation base 2021-06-10 22:16:57 +00:00
github-actions[bot]
9b30dc71b8 updated translation base 2021-06-10 01:07:39 +00:00
Nigel
f8e4a5ac2e
test: improve coverage of new get_destination 2021-06-09 11:04:42 -06:00
Nigel
cd07ea835d
feat(purchase orders): show the preferred location for each PO Line
Adds the ability for the Purchaser to specify where the item is
intentended to go when received.  If the Purchaser does not set a
preferred location, then the default location for the part is displayed.
If the item is received them where it was actually placed is shown.

NOTE: if an item is split when received only one of the resulting
StockItem location is used.

Fixes #1467
Addresses some of the requests in #551
2021-06-09 09:06:03 -06:00
Oliver
481a056327 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-09 16:18:13 +10:00
github-actions[bot]
adfbcf6055 updated translation base 2021-06-09 01:56:02 +00:00
github-actions[bot]
bde2902798 updated translation base 2021-06-09 01:48:18 +00:00
Oliver
0c14457598 Fix typo in getStockItemThumbnail 2021-06-09 11:16:37 +10:00
Oliver
cd2fcdd436 Fix: New translations django.po from Crowdin 2021-06-09 10:23:03 +10:00