Commit Graph

11409 Commits

Author SHA1 Message Date
Oliver
434f563a41 Adds API endpoint for "auto allocating" stock items against a build order.
- If stock exists in multiple locations, and the user "does not care" where to take from, simply iterate through and take
2022-03-04 15:26:00 +11:00
Oliver
64dd870436 Fix broken URL 2022-03-04 12:23:47 +11:00
Matthias
157f0e72a7
[FR] Add delivery cost (excluding unit cost that already exists) in PO
Fixes #2694
2022-03-04 01:06:39 +01:00
Matthias Mair
6071f6545b
Merge branch 'inventree:master' into matmair/issue2279 2022-03-03 23:55:04 +01:00
Oliver
07da25bfd6 Unit test fixes 2022-03-04 00:46:12 +11:00
Oliver
846899fa53 Adds ability to download purchase order line item table 2022-03-04 00:45:30 +11:00
Oliver
f6b574a127 Merge remote-tracking branch 'inventree/master' into duplicate-order-lines 2022-03-04 00:38:50 +11:00
Oliver
0ac86417a7 Adds "duplicate line item" button to purchase order and sales order tables 2022-03-04 00:36:26 +11:00
Oliver
99f3d97f13
Merge pull request #2709 from SchrodingersGat/stock-exporter
Stock export refactor
2022-03-04 00:26:49 +11:00
Oliver
0ba71956cd Add unit tests 2022-03-04 00:02:30 +11:00
Oliver
0af636d2b1 Pass options back through when re-creating filter list 2022-03-03 21:23:01 +11:00
Oliver
ba406a4da9 Refactorin'
- Add the "download" button into the "filters" list
- Cuts down on boilerplate code
2022-03-03 21:16:27 +11:00
Oliver
85e9c4d3ca JS linting 2022-03-03 17:47:23 +11:00
Oliver
0ec0f55e17 Style fixes 2022-03-03 17:44:12 +11:00
Oliver
4f74a27e1a Exporting data from a Part table now uses the API too
- Makes use of the existing table filters
- Exported data matches exactly what you see in the table!
2022-03-03 17:42:31 +11:00
Oliver
73a32f66c8 Adds ability to export stock "assigned" to a particular customer 2022-03-03 17:31:25 +11:00
Oliver
10cc72910d Remove StockExport view (no longer required!) 2022-03-03 17:25:41 +11:00
Oliver
8bf84ec217 Remove calls to "exportStock" 2022-03-03 17:25:31 +11:00
Oliver
51de436d42 User can select export format 2022-03-03 17:21:04 +11:00
Oliver
6b7a0fde1b Store table query parameters when performing a bootstrap-table query
- For now it only supports .csv format
2022-03-03 17:17:27 +11:00
Oliver
549f16b7aa Adds "export" option to StockItem API endpoint, allowing export to file 2022-03-03 13:53:09 +11:00
Oliver
67d0033ab3 Allows BOM to be copied for any part, not just variant parts 2022-03-03 13:19:25 +11:00
Oliver
15ec3836d5
Merge pull request #2706 from matmair/test_checker
Add user with variable
2022-03-03 12:45:27 +11:00
Matthias
e11fa338b6
also test empty 2022-03-03 00:52:10 +01:00
Matthias
a158ecf401
reset to previous 2022-03-02 23:41:41 +01:00
Matthias
771d82bdc2
style fix 2022-03-02 23:40:46 +01:00
Matthias
941efd08d1
change type of error 2022-03-02 23:36:53 +01:00
Matthias
c893b81314
remove the wrong setting 2022-03-02 23:34:44 +01:00
Oliver
954f0afb85 Merge branch 'master' into scheduling 2022-03-03 09:15:08 +11:00
Matthias
7d58db4336
full set again 2022-03-02 22:52:14 +01:00
Matthias
d03af8f5b0
nothing test 2022-03-02 22:50:36 +01:00
Matthias
2c6731df0c
add ENVs back in 2022-03-02 22:49:05 +01:00
Oliver
7e007d096a
Merge pull request #2704 from SchrodingersGat/bom-tree
Re-enable display of multi-level BOM
2022-03-03 08:46:27 +11:00
Matthias
48583f470c
remove testing code 2022-03-02 19:54:40 +01:00
Oliver
8dcf061581
Translations (#2701)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-03-02 22:50:05 +11:00
Oliver
fb4e44b73f Re-enable display of multi-level BOM 2022-03-02 22:46:58 +11:00
Oliver
55d09c4469
Merge pull request #2699 from SchrodingersGat/duplicate-bom-subs
Allow duplication of subtitute parts when copying a BOM
2022-03-02 21:50:18 +11:00
Oliver
676266215e Errant F 2022-03-02 21:50:02 +11:00
Matthias
d018654c9c
fix settings override? 2022-03-02 00:17:00 +01:00
Matthias Mair
b2676e3629
Merge branch 'inventree:master' into matmair/issue2501 2022-03-01 20:19:23 +01:00
Matthias Mair
56e6783556
Merge branch 'inventree:master' into matmair/issue2279 2022-03-01 20:14:25 +01:00
Matthias Mair
0957feafa1
fix test 2022-03-01 20:12:38 +01:00
Oliver
0d2bfa6839
Merge pull request #2698 from SchrodingersGat/delete-serialized-stock
Allows deletion of serialized stock
2022-03-02 00:32:59 +11:00
Oliver
35451be4f2
Merge pull request #2697 from SchrodingersGat/allocation-bug
Bug fix for BuildOrder.bom_items
2022-03-02 00:32:35 +11:00
Oliver
5dc543618e Allow duplication of subtitute parts when copying a BOM 2022-03-02 00:31:50 +11:00
Oliver
f6b3760bb5 Make UI elements more consistent
Ref: https://github.com/inventree/InvenTree/issues/2692
2022-03-02 00:05:02 +11:00
Oliver
aeb9dfe371 Allows deletion of serialized stock 2022-03-01 23:58:30 +11:00
Oliver
28a7ad7f0e Bug fix for BuildOrder.bom_items
- Now uses the query generator provided by the Part model
- No more code duplication
- More importantly, no more code duplication which is WRONG!
2022-03-01 23:53:33 +11:00
Oliver
190822a680 JS linting 2022-03-01 23:40:38 +11:00
Oliver
457bcdc0ae Fix some small template / JS errors on the "part" page 2022-03-01 23:38:02 +11:00
Oliver
9a62fe6993 style fixes 2022-03-01 23:31:18 +11:00
Oliver
e44159baea Adds (per user) setting to show or hide scheduling tab 2022-03-01 23:26:08 +11:00
Oliver
f33f1a339d Add more information to scheduling chart
Also improves chart styling
2022-03-01 23:20:08 +11:00
Oliver
776dffe779 Scheduling information is now calculated on the server, and provided via a new API endpoint
- Much simpler than sequencing multiple API calls
2022-03-01 22:54:49 +11:00
Matthias Mair
56e0b5f98d
Add as superuser 2022-03-01 12:31:56 +01:00
Matthias Mair
a500e8cf54
Fix typo 2022-03-01 12:28:31 +01:00
Matthias Mair
484a53ff8e
Update apps.py
Update env names
2022-03-01 12:26:16 +01:00
Matthias Mair
2f4cae4c9d
Update config_template.yaml
Change name for config name
2022-03-01 12:25:04 +01:00
Matthias Mair
5cc214dfbc
Update settings.py
Add comment to explain usage
2022-03-01 12:23:17 +01:00
Oliver
dfd6684699 Add incoming stock for build orders 2022-03-01 17:31:26 +11:00
Oliver
8f7164d5cd Add information for outgoing stock (sales orders) 2022-03-01 17:24:09 +11:00
Oliver
37ac8f6517 Display scheduled incoming stock for purchase orders 2022-03-01 17:13:47 +11:00
Oliver
a278e52443 Merge branch 'master' into scheduling 2022-03-01 16:50:57 +11:00
Oliver
a30e478412
Merge pull request #2685 from SchrodingersGat/date-format
Adds a user-configurable setting to configure how dates are displayed
2022-03-01 08:45:30 +11:00
Oliver
1393e38eec Adds date rendering to new target_date fields 2022-03-01 08:23:52 +11:00
Oliver
abbd087a66
Merge pull request #2688 from SchrodingersGat/custom-admin-url
Custom admin url
2022-03-01 08:21:31 +11:00
Oliver
5d37ce9175 Merge remote-tracking branch 'inventree/master' into date-format 2022-03-01 08:18:24 +11:00
Oliver
c4d462b0b4
Merge pull request #2684 from SchrodingersGat/po-target-date
Order target date improvements
2022-03-01 08:17:54 +11:00
Matthias
12c4296261
add special env testing flag 2022-02-28 21:08:27 +01:00
Matthias
737d397705
PEP fix 2022-02-28 20:44:13 +01:00
Matthias
4e898d5eac
fix test transactions 2022-02-28 20:42:20 +01:00
Matthias
3b1bfddd8b
also expect IntegrationsPluginError 2022-02-28 20:33:36 +01:00
Matthias
d6a42d64d8
make docs clearer 2022-02-28 20:33:10 +01:00
Matthias
23531e0a5d
remove dead code 2022-02-28 20:29:45 +01:00
Matthias
ad81439140
add testss for user creation 2022-02-28 20:29:04 +01:00
Matthias
7d9edaea8b
add docstrings 2022-02-28 19:43:00 +01:00
Matthias
63977d47ce
only test once 2022-02-28 19:41:23 +01:00
Matthias
9552482471
fix initial checks 2022-02-28 19:38:14 +01:00
Matthias
ac2d54a150
catch uniqueness 2022-02-28 19:29:54 +01:00
Matthias
28012a3cea
only add once 2022-02-28 19:19:10 +01:00
Matthias
a426742567
[FR] Non-interactive, environment variable based set-up in Docker deployments
Fixes #2501
2022-02-28 19:08:52 +01:00
Matthias
ed5c23fcea
Add template defaults 2022-02-28 18:50:16 +01:00
Oliver
f3e7af3cc3
Merge pull request #2686 from SchrodingersGat/po-receive-serials
Po receive serials
2022-03-01 00:58:44 +11:00
Oliver
9d3f6ea418 PEP fix 2022-03-01 00:58:20 +11:00
Oliver
b2e0241b12 Adds option to "obfuscate" the admin URL
- By default, uses '/admin/'
- Can be set in config yaml file
- Can be set by environment variable
2022-03-01 00:57:53 +11:00
Oliver
63d052e1ca Fixes for unit tests
- Prioritize "integer" values when extracting serial numbers
2022-03-01 00:37:27 +11:00
Oliver
42a75863fe Adds a "persist" option for modal forms 2022-03-01 00:25:14 +11:00
Oliver
7170e16ae7 Adds ability to display "success" messages inside a persistant modal dialog 2022-03-01 00:05:30 +11:00
Oliver
9f5618a51f Adds option to reload a form after success, rather than dismissing it 2022-02-28 23:57:28 +11:00
Oliver
0eba6f2476 Prevent operations on null dates 2022-02-28 23:39:11 +11:00
Oliver
7ad9f8852e PEP fix 2022-02-28 23:31:48 +11:00
Oliver
615a954e09 Refactor UI for adding batch code and serial numbers 2022-02-28 23:31:23 +11:00
Oliver
fdc2cae6ba Fix some existing problems with the extract_serial_numbers helper function
- Serial numbers don't really have to be "numbers"
- Allow any text value once other higher-level checks have been performed
2022-02-28 23:31:12 +11:00
Oliver
421db61f21 Adding unit testing for new features 2022-02-28 23:09:57 +11:00
Oliver
9e0120599f Adds front-end javascript code to implement new serializer features 2022-02-28 22:48:15 +11:00
Oliver
73484192a5 Add "batch code" and "serial numbers" serializer fields when receiving stock items against a purchase order 2022-02-28 22:47:41 +11:00
Oliver
7d19b21dff JS linting 2022-02-28 19:22:22 +11:00
Oliver
50a32a13f0 PEP style fixes 2022-02-28 19:15:12 +11:00
Oliver
fd02f1b761 Add option for display of "time" in addition to date 2022-02-28 19:14:20 +11:00
Oliver
b00ae67d68 Pass dates in templates through the new template tag 2022-02-28 19:10:33 +11:00
Oliver
08946a411a Created template tag which renders date in templates based on user preference 2022-02-28 19:07:46 +11:00
Oliver
040f1805e0 Pass dates displayed in front-end tables through the date formatter 2022-02-28 16:13:08 +11:00
Oliver
c720c75b79 Adds javascript function for rendering a date according to user preference 2022-02-28 16:10:16 +11:00
Oliver
b19719516b Adds a user-configurable setting to configure how dates are displayed (on the front end only!) 2022-02-28 15:57:34 +11:00
Oliver
7c82857cc7 Remove unique_together requirement for purchaseorderlineitem
- Allow a single purchase order to specify duplicate lines (e.g. split shipments / order scheduling)
2022-02-28 15:27:56 +11:00
Oliver
4858787a78 Adds "overdue" field to sales order line item
- API serializer
- front end / UX tables
2022-02-28 15:24:01 +11:00
Oliver
b451f3d149 adds target_date field when adding a new line item to a purchase order 2022-02-28 15:11:10 +11:00
Oliver
784189be75 Update purchase order table from part context 2022-02-28 15:07:12 +11:00
Oliver
9e82b28e9d Update PO line item table 2022-02-28 15:03:39 +11:00
Oliver
df7713f6c2 Adds "overdue" annotation field to POLineItem serializer 2022-02-28 15:03:22 +11:00
Oliver
557aa44904 Adds "target_date" field to PurchaseOrderLineItem and SalesOrderLineItem models
- Allows different target dates to be specified for different line items
- If not set (null) then the base "target_date" parameter for the parent order is used
2022-02-28 14:26:01 +11:00
Matthias Mair
86ba69eeaf
Merge branch 'inventree:master' into matmair/issue2279 2022-02-28 00:45:58 +01:00
Matthias
ba263187a5
optimise coverage 2022-02-28 00:35:36 +01:00
Matthias
f80f960923
translate error message 2022-02-28 00:34:28 +01:00
Matthias
f3f010c4be
write error if too old git 2022-02-28 00:34:02 +01:00
Matthias
ca8df60d00
PEP fixes 2022-02-28 00:28:03 +01:00
Matthias
084f9d5444
make more readable 2022-02-28 00:23:55 +01:00
Matthias
1591597ef9
check if modern git is used 2022-02-28 00:23:46 +01:00
Matthias
8550915528
opimise coverage 2022-02-28 00:23:25 +01:00
Matthias
bae290d605
check git version and safe for runtime 2022-02-28 00:17:21 +01:00
Oliver
8587a59ec1 WIP - loading graph 2022-02-26 18:36:25 +11:00
Oliver
e162432fde Merge remote-tracking branch 'origin/master' into scheduling 2022-02-25 23:01:17 +11:00
Oliver
65e4ee5793 PEP style fixes 2022-02-25 23:01:02 +11:00
Oliver
7c26d8f71d Refactor ownership for StockItem model 2022-02-25 22:58:00 +11:00
Oliver
d6764573c3 Refactor "ownership" concepts in templates
- Template code was very messy
- Makes it a lot "simpler"
- Adds convenience functions to the StockLocation model
- Adds pre-calculated data to the template
- Display ownership information on the stocklocation page
2022-02-25 22:45:24 +11:00
Oliver Walters
0da5957c50 template fix 2022-02-25 21:23:20 +11:00
Oliver
fe4d063135 Change some prints to log messages 2022-02-25 17:19:39 +11:00
Oliver
baab955756 Further fixes for unit tests 2022-02-25 17:17:34 +11:00
Oliver
d9e1302eaf Fixes for unit testing 2022-02-25 16:42:35 +11:00
Oliver
6bdac076d7 Adds a checkmark to indicate that a stock item has passed all required tests 2022-02-25 16:03:44 +11:00
Oliver
88bb0f05e9 URL fixes 2022-02-25 16:00:00 +11:00
Oliver
fea6091e42 Fix incorrect inputs 2022-02-25 15:57:30 +11:00
Oliver
ef9c6e9fe0 Bug fix 2022-02-25 15:56:40 +11:00
Oliver
9e3406efc9 Add stock tracking code to indicate stock has been consumed by a build order 2022-02-25 15:56:09 +11:00
Oliver
bb164ed72a Remove old unused functions 2022-02-25 15:47:07 +11:00
Oliver
3dde0dbb2b PEP fixes 2022-02-25 15:43:45 +11:00
Oliver
ab82f07ef1 Bug fix for BuildOutputComplete serializer
- Actually use the provided "location" value!
2022-02-25 15:41:10 +11:00
Oliver
44008f33e2 Refactoring Build model functions
- Determining if a build order is correctly allocated has become more complex
- Complex BOM behaviours (e.g. variants, templates, and substitutes) have made it more difficult!
- Recently, a reference to the defining BomItem object was added to the BuildItem model
- Now, a simpler way is to check allocation against the parent BomItem
- It is much better, but means that a lot of refactoring and testing will be required!
2022-02-25 15:40:49 +11:00
Oliver
50a45474da
Merge pull request #2666 from matmair/matmair/issue2663
[BUG] Unable to create build output
2022-02-25 14:30:12 +11:00
Oliver
733062385c
Translation merge (#2667)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-02-23 16:49:37 +11:00
Matthias
7be832cc9b
[BUG] Unable to create build output
Fix if no allocate set
Fixes #2663
2022-02-23 02:01:46 +01:00
Matthias Mair
0e40a78705
update test to aaccount for new js-file 2022-02-23 00:55:55 +01:00
Matthias Mair
e4c6f6e8e4
Merge branch 'inventree:master' into matmair/issue2279 2022-02-23 00:54:54 +01:00
Oliver
da4c7f0ba1 Adds support for Hungarian language 2022-02-22 11:40:28 +11:00
Oliver
4007b17dcc
Update version.py
Increment minor version number after stable release
2022-02-21 20:52:37 +11:00
Oliver
887e6295e2
I18n release merge (#2654)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-02-21 11:26:08 +11:00
Matthias Mair
8b8e95385b
Merge branch 'inventree:master' into translation-fixes 2022-02-20 22:20:00 +01:00
Matthias Mair
a6641d067b
Merge branch 'inventree:master' into matmair/issue2279 2022-02-20 22:19:30 +01:00
Matthias
b974b5fc30
use f-string annotation 2022-02-20 21:47:39 +01:00
Oliver
c2b845e2cf
Merge pull request #2646 from matmair/small-fixes
Small style fixes
2022-02-21 07:27:18 +11:00
Matthias
0baffcaee5
fix string concat 2022-02-20 21:12:20 +01:00
Matthias
08a5779c35
fix caps 2022-02-20 19:25:03 +01:00
Oliver
d7c6c23acb
I18n merge (#2647)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-02-20 19:38:59 +11:00
Matthias
ebd54045ec
PEP fix 2022-02-20 04:40:18 +01:00
Matthias
e9b501f7eb
remove unneeded continue 2022-02-20 04:29:46 +01:00
Matthias
d5bcd256f6
merge statments 2022-02-20 04:26:52 +01:00
Matthias
306725ef92
merge satement 2022-02-20 04:25:17 +01:00
Matthias
1ff6988ffd
remove unneeded assignment 2022-02-20 04:24:13 +01:00
Matthias
68d182d67b
remove unused code 2022-02-20 04:23:19 +01:00
Matthias Mair
da0eda0b27
Merge branch 'inventree:master' into matmair/issue2279 2022-02-20 02:36:53 +01:00
eeintech
05b1943886 Set default error message visibility in modal options 2022-02-18 12:25:50 -05:00
Oliver
584ce89def Adds (blank) scheduling tab to part page 2022-02-18 13:41:26 +11:00
Oliver
0f7b6e77ea
Merge pull request #2641 from SchrodingersGat/report-cache-fixes
Report cache fixes
2022-02-18 08:54:09 +11:00
Oliver
7c64cb950c Delete template files from cache as they are uploaded 2022-02-18 00:01:49 +11:00
Oliver
6aec40b9ba Improved error messages when report templates (or snippets) are missing! 2022-02-17 23:46:43 +11:00
Oliver
efc749c695 When uploading a report template, keep the existing filename (if it is the same report!) 2022-02-17 23:30:55 +11:00
Oliver
580effab92 Merge remote-tracking branch 'inventree/master' into match-fields
# Conflicts:
#	InvenTree/InvenTree/version.py
2022-02-17 22:55:16 +11:00
Oliver
6e6f9d6c2f Reintroduce option to clear (delete) BOM before uploading new data 2022-02-17 22:54:02 +11:00
Oliver
1b6dacd5ba Allow processing of "null" cells (caused by xls / xlsx import) 2022-02-17 22:48:15 +11:00
Oliver
3226a1906f Critical bug fix: Check if serial numbers already exist when creating new StockItem 2022-02-17 17:17:09 +11:00
Oliver
f485bc7d53 PEP fixes 2022-02-17 17:04:51 +11:00
Oliver
0604e1a127 Adds API endpoint for installing stock items into other stock items
- Requires more filtering for the Part API
- Adds more BOM related functionality for Part model
- Removes old server-side form
2022-02-17 17:03:17 +11:00
Oliver
31fd69fc76 Ensure unit tests are more resilient 2022-02-17 14:00:16 +11:00
Oliver
6199223636 Adds "refresh" button for stock test table 2022-02-17 13:46:11 +11:00
Oliver
578c161d4f Adds information on test result being deleted 2022-02-17 13:36:00 +11:00
Oliver
82cfc5423a Further improvements to unit tests 2022-02-17 13:07:16 +11:00
Oliver
47f6b709c9 Improve unit testing 2022-02-17 12:10:48 +11:00
Oliver
e298a3adbf Implement unit test for missing columns 2022-02-17 11:45:44 +11:00
Oliver
bc6839d56e Spelling fix 2022-02-17 08:18:15 +11:00
Oliver
f6f512c40b Fix breadcrumb tree for stock item page 2022-02-16 22:22:04 +11:00
Oliver
371af2a34a unit test fixes 2022-02-16 22:19:02 +11:00
Oliver
9c8f15fd56 Fix field name 2022-02-16 19:43:14 +11:00
Oliver
fbef0e1ede js linting 2022-02-16 17:18:17 +11:00
Oliver
0f0325daba Adds a button to quickly "pass" a test 2022-02-16 17:16:17 +11:00
Oliver
8f6312f7f4 Adds generic javascript function for mapping file columns to model fields 2022-02-16 17:04:33 +11:00
Oliver
f399f4fa34 Refactoring API endpoints
- Improved URL naming scheme
2022-02-16 16:57:27 +11:00
Oliver
d7adb6959d Adds functionality to map file columns to model fiels 2022-02-16 14:57:13 +11:00
Matthias Mair
626f44d195
Merge branch 'inventree:master' into matmair/issue2279 2022-02-16 02:02:02 +01:00
Oliver
58aa2adde7 Adds model mixin for generically determining which fields can be imported on any particular model 2022-02-16 11:42:15 +11:00
Oliver
24f1491b8e Adds generic API endpoint for extracting data from a tabulated file 2022-02-16 11:32:40 +11:00
Oliver
6c32f5c60d
Merge pull request #2632 from SchrodingersGat/build-serial-number-guess
Build output allocation tweak
2022-02-16 08:37:47 +11:00
Oliver
49fe528f4e
Merge pull request #2630 from matmair/coverage-fixes
Coverage fixes
2022-02-16 07:55:12 +11:00
Oliver
bf39a614a1 Automatically select Bom Items with matching serial numbers when allocating stock to a build order output 2022-02-16 07:49:18 +11:00
Oliver
35c9b6838e Form improvements 2022-02-15 13:33:32 +11:00
Oliver
2b344f1f25 PEP style fixes 2022-02-15 13:30:14 +11:00
Oliver
09853fd3df remove code which is now unused 2022-02-15 13:27:30 +11:00
Oliver
07af0902a3 Optionally auto-allocate stock items when creating a new build output 2022-02-15 13:27:14 +11:00
Oliver
24c13b04b6 Extract serial numbers from submitted form data 2022-02-15 13:19:41 +11:00
Oliver
037232c177 Adds query function to Part model to return trackable parts in the BOM 2022-02-15 13:19:14 +11:00
Oliver
f90a27d01d Adds a new API endpoint for creating build outputs 2022-02-15 12:51:48 +11:00
Matthias Mair
0be2f8cf02
Merge branch 'inventree:master' into coverage-fixes 2022-02-15 01:48:55 +01:00
Oliver
dc4c1f138b
Merge pull request #2629 from SchrodingersGat/index-unit-tests
Adds unit tests for index page
2022-02-15 11:45:08 +11:00
Oliver
c048f3fb4a Adds unit tests for index page
Some fairly simple unit tests to ensure that the index page is being correctly loaded.
2022-02-15 10:50:30 +11:00
Oliver
adfa289e9b Enforce proper formatting for 'quantity' field when importing BOM data 2022-02-15 09:11:14 +11:00
Matthias
238cc9e278
disable broken test 2022-02-14 00:42:47 +01:00
Matthias
8df5a3f980
add more user api tests 2022-02-14 00:21:15 +01:00
Matthias
6848787885
remove dead code -> permission class does that already 2022-02-14 00:21:01 +01:00
Matthias
a4d94f31c8
add test for non existing token 2022-02-14 00:14:11 +01:00
Matthias
beb3bb38d4
spellcheck 2022-02-13 23:59:37 +01:00
Matthias
955f389d66
PEP fixes 2022-02-13 23:59:23 +01:00
Matthias
2335a8c316
add more plugin coverage 2022-02-13 23:58:49 +01:00
Matthias
f765f0f083
should not be reached 2022-02-13 23:52:50 +01:00
Matthias
43a05dfcb4
return cov from feature only used for debug 2022-02-13 23:50:18 +01:00
Matthias
25bcf2c438
make git log call simpler 2022-02-13 23:49:59 +01:00
Matthias
32614e55b5
remove dead code 2022-02-13 23:49:43 +01:00
Matthias
c5e9e933f0
remove cov from not used feature 2022-02-13 23:49:26 +01:00
Matthias
241101cee6
remove coverage that is not reachable 2022-02-13 23:48:48 +01:00
Matthias
9246eea38e
PEP fix 2022-02-13 23:42:05 +01:00
Matthias
384d458110
user api tests 2022-02-13 23:39:10 +01:00
Matthias
e262599d83
ignore unreachable things 2022-02-13 23:32:55 +01:00
Matthias
ffafc20c6d
do not count unreachable code 2022-02-13 23:30:27 +01:00
Matthias
c6464bcf77
PEP fix 2022-02-13 22:42:17 +01:00
Matthias
8724702fef
add coverage for labels 2022-02-13 22:39:29 +01:00
Matthias
58e8bab83b
except import errors 2022-02-13 22:12:43 +01:00
Matthias
f88d39db66
fix coverage 2022-02-13 22:07:30 +01:00
Matthias
40ea93e00a
catch more explicit 2022-02-13 22:06:53 +01:00
Matthias
73500a4b82
omit coverage via setup.cfg 2022-02-13 21:19:41 +01:00
Matthias
a6621a5327
fix label tests 2022-02-13 21:15:40 +01:00
Matthias
b49d46af58
update system health check 2022-02-13 20:38:05 +01:00
Matthias
27b0a012e0
ignore sanity checks for coverage 2022-02-13 20:33:54 +01:00
Matthias
be196b2948
should not be reached - ignore in cov 2022-02-13 20:23:32 +01:00
Matthias
0eb6d46c4b
remove dead code 2022-02-13 20:23:15 +01:00
Matthias
b095917b96
ignore wsgi 2022-02-13 20:20:05 +01:00
Matthias
0e840bacdd
ignore currently dead code in coverage 2022-02-13 20:16:44 +01:00
Matthias
7598b47642
ignore some default in coverage 2022-02-13 20:15:31 +01:00
Matthias
2bf3b90d38
ignore db optm in coverage 2022-02-13 20:15:03 +01:00
Matthias
5a40bdda51
do not cover secret key 2022-02-13 20:14:18 +01:00
Matthias
2bba1766b0
ignore testing coditions in coverage 2022-02-13 20:13:57 +01:00
Matthias
4567e9d941
ignore system exit conditions in coverage 2022-02-13 20:11:41 +01:00
Matthias
1fd336aa1b
ignore whole file 2022-02-13 20:00:19 +01:00
Matthias
af3f3c741d
test Isimporting 2022-02-13 19:59:06 +01:00
Matthias
d596ae1e7e
test test mode 2022-02-13 19:58:29 +01:00
Matthias
ce88deeb3b
add test for system healt checks 2022-02-13 19:56:30 +01:00
Matthias
6bc53c1308
will never be true in testing 2022-02-13 19:55:50 +01:00
Matthias
dbb4c3f407
Merge branch 'master' of https://github.com/inventree/InvenTree into coverage-fixes 2022-02-13 17:46:09 +01:00
Matthias
0ad3b5bcba
ignore coverage in exsisting migrations 2022-02-13 17:45:46 +01:00
Matthias
898f99c931
ignore not testable condition 2022-02-13 17:42:50 +01:00
Matthias
67a4f75856
remove dead test 2022-02-13 17:41:27 +01:00
Matthias
ad41957127
database not ready events are hard to reproduce consistently 2022-02-13 17:39:17 +01:00
Matthias
9d12a7172c
use same style for AppNotReady Exception 2022-02-13 17:35:07 +01:00
Matthias
fe65f92df0
app not ready can not be simulated by tests 2022-02-13 17:34:05 +01:00
Matthias
2838817e32
ignore debug toolbar 2022-02-13 17:31:34 +01:00
Matthias
a763ac383c
Merge branch 'coverage-fixes' of https://github.com/matmair/InvenTree into coverage-fixes 2022-02-13 17:30:38 +01:00
Matthias
ed6bf7d4d0
add comment about function 2022-02-13 17:30:35 +01:00
Matthias
11e41048d0
ignore ci render_test 2022-02-13 17:29:46 +01:00
Oliver
e3fc1ab138 Allow BOM file to be "re-uploaded" 2022-02-13 20:49:42 +11:00
Oliver
0aeaf61254
Merge pull request #2564 from matmair/template-reduce-duplication
Template reduce duplication
2022-02-13 20:37:02 +11:00
Matthias Mair
880d78f2c6
Pep 2022-02-13 06:24:05 +01:00
Matthias Mair
c6da462229
Remove settings mods 2022-02-13 06:22:15 +01:00
Matthias
54f6c5b34f
fix setting coverage 2022-02-13 05:57:07 +01:00
Matthias
1f59373c70
test wrong setting defaults 2022-02-13 05:50:53 +01:00
Matthias
42b4466897
ignore controls that should not be reached in coverage 2022-02-13 05:50:19 +01:00
Matthias
7793a22a35
ignore wrong control view safeties 2022-02-13 05:48:10 +01:00
Matthias
440245c812
PEP fix 2022-02-13 05:37:28 +01:00
Matthias
c0ab93b2a9
remove dead code 2022-02-13 05:35:06 +01:00
Matthias
491bb0b28f
fix import 2022-02-13 05:34:06 +01:00
Matthias
22bc0b3d90
ignore exception ref 2022-02-13 05:21:43 +01:00
Matthias
e162eea9a4
no test for malformed paths 2022-02-13 05:17:41 +01:00
Matthias
ca07c5f12c
imports are not tested 2022-02-13 05:16:29 +01:00
Matthias
6437674ca8
ignore database not ready 2022-02-13 05:16:14 +01:00
Matthias
12a5b6b148
remove dead code 2022-02-13 05:11:47 +01:00
Matthias
021faf4c1f
move up comment so unneeded functions are not not covered 2022-02-13 05:11:14 +01:00
Matthias
c84be228f1
remove dead code 2022-02-13 05:08:37 +01:00
Matthias
127368d47f
ignore coverage on ruleset checks 2022-02-13 05:04:51 +01:00
Matthias
673435fe90
simpler coverage ignore 2022-02-13 04:56:42 +01:00
Matthias
e693fe1e41
fix migration coverage for build 2022-02-13 04:55:39 +01:00
Matthias
fe767775bc
fix migration coverage for company 2022-02-13 04:53:18 +01:00
Matthias
a4c6d0e6c5
fix migration coverage for orders 2022-02-13 04:49:08 +01:00
Matthias
10170b5466
remove coverage from parts migrations 2022-02-13 04:46:36 +01:00
Matthias
3ed836f19d
ignore branches 2022-02-13 04:43:18 +01:00
Matthias
5d277a888d
ignore migration 2022-02-13 04:41:44 +01:00
Matthias
01b8bca501
ignore import error 2022-02-13 04:37:38 +01:00
Matthias
65f3c3fce4
ignore the django import check 2022-02-13 04:33:18 +01:00
Matthias
7de3eb46c5
fix migrations 2022-02-13 04:15:58 +01:00
Matthias
bc17536e6d
fix quotes 2022-02-13 03:49:52 +01:00
Matthias
aa3192a106
Merge branch 'master' of https://github.com/inventree/InvenTree into template-reduce-duplication 2022-02-12 00:55:39 +01:00
Matthias
9eb238c85e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-02-12 00:51:15 +01:00
Matthias Mair
975c81ccfe
Merge branch 'inventree:master' into fix-html-tags 2022-02-12 00:32:26 +01:00
Oliver
8b34ea3066
Merge pull request #2609 from eeintech/child_model_permissions
Child model permissions
2022-02-10 18:08:38 +11:00
Oliver
6c083622e5
Merge pull request #2615 from SchrodingersGat/delete-multiple-outputs
Delete multiple outputs
2022-02-10 07:47:00 +11:00
Oliver
6b52a07e71 js linting 2022-02-10 00:53:38 +11:00
Oliver
71f9399760 Cleanup 2022-02-10 00:50:21 +11:00
Oliver
0d7b94fbfa Remove old form code which is no longer used 2022-02-10 00:48:06 +11:00
Oliver
96af074365 Adds API endpoint to delete build outputs 2022-02-10 00:46:38 +11:00
Oliver
f460b14014 Add more unit testing for BOM file upload
- Test "levels" functionality
- Test part guessing / introspection
2022-02-10 00:13:37 +11:00
Oliver
ffb319e136 Disable "submit" button to prevent multiple simultaneous uploads 2022-02-10 00:00:23 +11:00
Oliver
d38a8adf4c Add button to display original row data 2022-02-09 23:49:26 +11:00
Oliver
383835aa89 Display initial errors when importing data 2022-02-09 23:26:32 +11:00
Oliver
aa962aac83 Improve part "guess" algorithm 2022-02-09 23:26:13 +11:00
Oliver
c0e940a898 Catch potential error when posting invalid numbers via REST API 2022-02-09 23:26:00 +11:00
Oliver
001437e083 Increased error checking when uploading BOM data 2022-02-09 23:02:09 +11:00
Oliver
2af617e92b Adds check for duplicate parts when importing 2022-02-09 11:34:25 +11:00
Oliver
67a9c0aeec PEP fixes 2022-02-09 11:31:36 +11:00
Oliver
a9e1357ffb Return per-row error messages when extracting data 2022-02-09 11:30:58 +11:00
Oliver
29c3064ae7 Raise error if imported dataset contains no data rows 2022-02-09 11:27:51 +11:00
Oliver
692039f712 Add unit testing for uploading invalid BOM files 2022-02-09 08:38:28 +11:00
Oliver
8fc2695873 Catch potential file processing errors 2022-02-09 08:31:08 +11:00
Oliver
5376c5b022 Allow POST of files for unit testing 2022-02-08 23:54:48 +11:00
Oliver
dbf1e1b463 Fix logic for enabling "place order" button 2022-02-08 08:59:42 +11:00
eeintech
3b45c1406a Improved approach to permission check at runtime 2022-02-07 15:42:39 -05:00
eeintech
fd63fcde43 Reverted print statement to logger 2022-02-07 15:39:06 -05:00
eeintech
ef70e665bb Refactored and added permission check for children models 2022-02-07 15:37:07 -05:00
eeintech
d3b2e80e14 Merge branch 'master' of github.com:inventree/InvenTree into permission_experiment 2022-02-07 11:55:47 -05:00
Oliver
ba1c7caa2a
Merge pull request #2605 from SchrodingersGat/po-refresh
Do not hide the "submit order" button
2022-02-07 15:02:52 +11:00
Oliver
c94c0902b6
Merge pull request #2603 from SchrodingersGat/bom-upload-improvements
Bom upload improvements
2022-02-07 14:46:25 +11:00
Oliver
55ff026696 Remove incorrect validation routine 2022-02-07 14:24:40 +11:00
Oliver
64b1523013 Do not hide the "submit order" button 2022-02-07 13:55:25 +11:00
Oliver
11f541303b unit test fixes 2022-02-07 13:32:35 +11:00
Oliver
11c187f81d PEP fixes 2022-02-07 13:14:51 +11:00
Oliver
a5a2fcd84a Only update rates on server launch if there are no rates available 2022-02-07 13:13:45 +11:00
Oliver
7265360648 JS linting 2022-02-07 13:07:03 +11:00
Oliver
4f638be874 Handle errors when connecting to currency exchange
- Also adds timeout when connecting
2022-02-07 13:04:42 +11:00
Oliver
c6dc196053 PEP fixes 2022-02-07 12:32:50 +11:00
Oliver
509d58979e Remove old templates 2022-02-07 12:29:15 +11:00
Oliver
11d5900b69 Update upload file template 2022-02-07 12:25:09 +11:00
Oliver
131663cecc Adds options to clear existing BOM data when uploading 2022-02-07 12:20:18 +11:00
Oliver
4f26df3124 bug fix 2022-02-07 11:35:51 +11:00
Oliver
2ade14c47b Check for duplicate BOM items as part of serializer validation 2022-02-07 11:35:07 +11:00
Oliver
a2c48d308f Adds a BomUpload endpoint to handle upload of complete BOM 2022-02-07 10:54:37 +11:00
Oliver
80818c464a Allow decimal values for BOM overage 2022-02-07 09:24:23 +11:00
Oliver
0963602bea Add optional part lookup by "part" field 2022-02-07 08:37:39 +11:00
Oliver
81271bf6b9 Add "clear input" callback function 2022-02-05 10:01:07 +11:00
Oliver
bdf0b5b446 Construct required form fields
- required some additional functionality in forms.js
2022-02-05 09:53:35 +11:00
Oliver
c620107625 Add callback for "remove row" button 2022-02-05 09:11:01 +11:00
Oliver
8a86932c7b Initialize related field for "part" selection 2022-02-05 01:36:46 +11:00
Oliver
8a8d718534 Basic javascript function to construct BOM table from extracted data 2022-02-05 01:26:34 +11:00
Oliver
3bd39ec752 Attempt to auto-extract part information based on provided data 2022-02-05 01:26:08 +11:00
Oliver
137c9ff2f2 POST request now returns extracted data rows (as an array of dicts) 2022-02-05 00:30:00 +11:00
Oliver
707787d82c Fix existing bug with BomExport functionality - could not select BOM format 2022-02-05 00:12:40 +11:00
Oliver
611592694b Adds serializer for uploading a BOM file and extracting fields 2022-02-05 00:12:11 +11:00
Oliver
448cd18468
Merge pull request #2586 from nwns/feature/maintdefaultstorage
Switch Maint Mode to use default storage backend
2022-02-04 07:31:59 +11:00
Oliver
647b2be5cf
Merge pull request #2599 from SchrodingersGat/hide-part-pricing-history
Hide part pricing history
2022-02-03 16:57:23 +11:00
Oliver
c12191d3ed Disable multi-level BOM requests 2022-02-03 16:33:10 +11:00
Oliver
722e947745 Only calculate pricing data if required 2022-02-03 16:30:48 +11:00
Oliver
0c1971bfbb
Merge pull request #2598 from SchrodingersGat/loaddata-skip-steps
Skips some specific steps when importing data
2022-02-03 16:29:02 +11:00
Oliver
525b6d399d Hide pricing history tab if not enabled 2022-02-03 16:23:52 +11:00
Oliver
8c52924020 Adds new setting to optionally display or hide part pricing information 2022-02-03 16:16:42 +11:00
Oliver
328e9639f7
Merge pull request #2597 from SchrodingersGat/binary-settings
Binary settings
2022-02-03 16:07:13 +11:00
Oliver
aeb8967473 PEP fixes 2022-02-03 16:06:00 +11:00
Oliver
78b1c7a22b Skips some specific steps when importing data
- We need to prevent certain operations from running when we are importing data
- This is to prevent unique database constraints from being violated

- Do not register plugins during data import
- Do not launch notification events
2022-02-03 16:03:46 +11:00
Oliver
bf528db4ab Display error if setting update failes 2022-02-03 15:46:44 +11:00
Oliver
eef15b13ec
Merge pull request #2596 from SchrodingersGat/bom-export
Fixes issue with BOM export
2022-02-03 15:30:48 +11:00
Oliver
2b11d5ed52
Merge pull request #2595 from SchrodingersGat/build-refresh
Build refresh
2022-02-03 15:30:41 +11:00
Oliver
5cd5ee81af Layout changes 2022-02-03 15:30:36 +11:00
Oliver
ababab944b Boolean settings are now directly clickable 2022-02-03 15:25:21 +11:00
Oliver
72be63572e Fixes issue with BOM export
- Cascading BOM export was broken
2022-02-03 14:52:38 +11:00
Oliver
c6089a2828 Reload completed output table 2022-02-03 14:47:35 +11:00
Oliver
66e5aa4060 Reload build output table when an active build output is deleted 2022-02-03 14:23:25 +11:00
Oliver
566fd87e86 PEP style fixes 2022-02-03 14:16:33 +11:00
Oliver
b387b4e173 Prevent build outputs being created with zero quantity 2022-02-03 14:13:13 +11:00
eeintech
de7e152081 Experimenting with children models permissions 2022-02-02 14:01:53 -05:00
Nigel
bbe14690f1
fix: use default storage backend for Maint Mode 2022-02-02 08:37:43 -07:00
Oliver
ea1f1b398e Prevent AttributeError from being thrown
Ref: https://github.com/inventree/InvenTree/issues/2587
2022-02-02 12:40:10 +11:00
Oliver Walters
00d7cf88e8 Throw validation error if no build outputs have been started 2022-02-01 15:58:18 +11:00
Oliver Walters
318e84883a Adds a warning if no build outputs are created 2022-02-01 15:51:38 +11:00
Oliver
3462cf796b
I18n merge (#2582)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-01-30 21:44:23 +11:00
Matthias
ae667df14a
add migration 2022-01-28 23:58:12 +01:00
Matthias Mair
18e0a7b7e6
fix spelling
Thanks @Stephano120
Good catch!
2022-01-28 20:19:38 +01:00
Oliver
e879c97e1e Display "base" part when selecting substitutes 2022-01-28 13:23:44 +11:00
Oliver
60c5635a21
Merge pull request #2576 from SchrodingersGat/translation-fix
Fix message
2022-01-28 09:25:50 +11:00
Oliver
90474af76d Fix message 2022-01-28 08:47:03 +11:00
Oliver
22892565ed JS linting fixes 2022-01-28 08:28:52 +11:00
Oliver
f6ffef66e0 Fixes for new "allocation" tab
- Fix broken link
- Add "description" column
- Add thumbnail images
2022-01-27 16:25:26 +11:00
Oliver
0ea0edf1bb
Merge pull request #2574 from SchrodingersGat/allocation-tab
Allocation tab
2022-01-27 15:58:41 +11:00
Oliver
5ec1d5aab8 Display allocations for individual stock items 2022-01-27 15:21:04 +11:00
Oliver
60cde7fe13 Includes sales order allocation data 2022-01-27 15:01:26 +11:00
Oliver
c43d1840ea Load table of build order allocations 2022-01-27 14:55:19 +11:00
Oliver
09bba40c20
Merge pull request #2573 from SchrodingersGat/bom-stock-export
Expand available stock information when exporting Bill of Materials
2022-01-27 14:47:41 +11:00
Oliver
3889baf37a Adds a tab for "allocations" 2022-01-27 14:25:57 +11:00
Oliver
11125e9f60 Fixes for unit tests 2022-01-27 14:19:42 +11:00
Oliver
b027f126e8 Expand available stock information when exporting Bill of Materials 2022-01-27 13:59:13 +11:00
Oliver
3127b1b34a Remove incorrect line 2022-01-27 13:48:16 +11:00
Oliver
4a45ba3a44 Fix data mutability issues 2022-01-27 13:37:42 +11:00
Oliver
d0aa09337a Simplify creation of serialized stock via the API
- Fixes atomicity issues
- Don't create-then-delete stock items
2022-01-27 12:08:50 +11:00
Oliver
9153b62ea0 Handle case when aggregation returns None 2022-01-27 10:49:30 +11:00
Oliver Walters
9a2d47cd53 style fixes 2022-01-26 23:17:58 +11:00
Oliver Walters
681e007092 Add clean() function for PurchaseOrderLineItem
Also adds renderer for purchaseorder model
2022-01-26 22:56:00 +11:00
Matthias
1704a50d92
Merge branch 'style-fix' of https://github.com/matmair/InvenTree into style-fix 2022-01-24 23:46:39 +01:00
Matthias Mair
d998f8bfbe
Merge branch 'inventree:master' into fix-html-tags 2022-01-24 23:39:21 +01:00
Matthias Mair
af04056843
Merge branch 'inventree:master' into style-fix 2022-01-24 23:39:17 +01:00
Matthias
6bfb17f2ab
pep fix 2022-01-24 23:38:12 +01:00
Matthias
3ab93dcdd5
only one exception type needed 2022-01-21 02:17:30 +01:00
Matthias
02058389b2
remove unneeded pass 2022-01-21 02:13:41 +01:00
Matthias
b3d031c473
make expression simpler 2022-01-21 02:12:40 +01:00
Matthias
f04de517d1
fix tags 2022-01-21 02:11:34 +01:00
Matthias
2e0198e7cd
refactor field matching 2022-01-21 01:20:32 +01:00
Matthias
3c02c918b2
reduce code in wizard templates 2022-01-21 01:12:11 +01:00
Matthias
116369bba1
fix indent 2022-01-21 00:31:03 +01:00
Matthias
ff897ccc41
remove dead code 2022-01-21 00:30:51 +01:00
Matthias
c44565f9e3
fix reused builtins 2022-01-21 00:17:52 +01:00
Matthias
cbd84a23f9
fix default empy dict 2022-01-21 00:11:26 +01:00
Matthias
b2eb4e131a
remove empty test 2022-01-21 00:08:36 +01:00
Matthias
a96ceba0be
use constant for content type 2022-01-20 23:58:36 +01:00
Matthias
16239289c0
remove dead code 2022-01-20 23:56:39 +01:00
Matthias
967efae8f1
make simpler 2022-01-20 23:55:48 +01:00
Matthias
21125eb892
add docstring 2022-01-20 23:55:07 +01:00
Matthias
3d2113d98b
make simpler 2022-01-20 23:53:50 +01:00
Matthias
9da234002b
add comment 2022-01-20 23:51:53 +01:00
Matthias
f8c4470d98
make simpler 2022-01-20 23:51:42 +01:00
Matthias
db66546606
rename to not shadow builtin 2022-01-20 23:49:21 +01:00
Matthias
ef22b9fc1b
remove unneeded assingments 2022-01-20 23:47:59 +01:00
Oliver Walters
9ffcdbc417 Fix issues when re-opening a secondary modal 2022-01-19 19:18:20 +11:00
Oliver Walters
3c328feb65 Donate keyboard focus when creating a secondary modal 2022-01-19 19:03:47 +11:00
Oliver Walters
21f2dd5896 Use modal "depth" to construct form fields
- Top level modals are not changed
2022-01-19 18:57:53 +11:00
Oliver Walters
f16b18f7ad icon fixes 2022-01-19 14:41:22 +11:00
Oliver Walters
40564f0357 Rearrange drop-down menu 2022-01-19 14:38:05 +11:00
eeintech
391836689d Allow decimal for quantity received on PO 2022-01-17 09:04:14 -05:00
Oliver Walters
6f3918deea Fix for i18n javascript 2022-01-14 00:02:00 +11:00
Oliver
9b1ccedbb4
Merge pull request #2546 from SchrodingersGat/plugin-bool-fix
Display "boolean" plugin setting values as checkboxes
2022-01-13 17:18:01 +11:00
Oliver
2f01691095 "patch" for legacy checkboxes in HTML forms
- Update to match the style of more "modern" API-driven forms
- These legacy forms will be removed in future revision anyway
2022-01-13 16:37:42 +11:00
Oliver
eb21e1f844 Display "boolean" plugin setting values as checkboxes 2022-01-13 16:22:38 +11:00
Oliver
3fb77f466c PEP fixes 2022-01-13 11:00:33 +11:00
Oliver
ae016730f8 Fix - needs a global function to schedule 2022-01-13 10:53:33 +11:00
Oliver
519a1009ab Fix: wrap args in quotes 2022-01-13 10:47:37 +11:00
Oliver
934de1f772 Adds the ability for 'scheduled tasks' to be member functions of plugins 2022-01-13 10:24:47 +11:00
Matthias Mair
c490574082
Merge branch 'inventree:master' into matmair/issue2279 2022-01-12 14:36:04 +01:00
Oliver
5df8377213 Fix "actions" column for part purchase order table 2022-01-12 15:12:53 +11:00
Oliver
0c37c2ce13
Merge pull request #2540 from SchrodingersGat/500
Adds custom error handler page for 500
2022-01-12 14:52:51 +11:00
Oliver
ebad01b497
Merge pull request #2525 from matmair/matmair/issue2519
Refactor action and barcode plugins and cleanup
2022-01-12 14:40:24 +11:00
Oliver
684de69251 Adds custom error handler page for 500 2022-01-12 13:06:50 +11:00
Matthias
ee99052d04
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-01-12 02:13:50 +01:00
Oliver
7ce55f4195 Add try/except blocks for calls to conert_money 2022-01-12 11:57:33 +11:00
Matthias
8690326a8f
PEP fix 2022-01-12 01:04:25 +01:00
Matthias
678b89e093
consolidate helpers 2022-01-12 00:59:09 +01:00
Matthias
3dab1ab736
remove unneeded branches 2022-01-12 00:56:18 +01:00
Matthias
4f74ae3fce
readd import 2022-01-12 00:22:06 +01:00
Matthias
62236474e2
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-12 00:12:32 +01:00
Matthias
164ee5fa5c
fix reference 2022-01-12 00:08:58 +01:00
Oliver
2255619b40
Merge pull request #2534 from SchrodingersGat/plugin-enable
Plugin enable
2022-01-12 09:49:52 +11:00
Oliver
36f342f05e URL fix 2022-01-12 09:21:34 +11:00
Oliver
d92173dc8e Do not service plugin URLs if plugins are not enabled 2022-01-12 09:05:08 +11:00
Oliver
4f79904fc8 Ignore events from 'webhook' tables 2022-01-11 15:02:32 +11:00
Oliver
5f955fab80 Merge remote-tracking branch 'inventree/master' into filters-fix 2022-01-11 14:54:34 +11:00
Oliver
1ddf3c62c4 CSS fixes for table filter tags 2022-01-11 14:31:35 +11:00
Oliver
19de9a056b
Merge pull request #2336 from matmair/webhooks
Webhooks
2022-01-11 14:19:21 +11:00
Oliver
1937a9d737 PEP fixes 2022-01-11 13:49:53 +11:00
Oliver
6541dc43ec Template fixes 2022-01-11 13:46:50 +11:00
Oliver
8aec055e6c Only load plugins if PLUGINS_ENABLED is true
- Hide plugin settings
- Add plugin support status to "stats" dialog
2022-01-11 13:39:47 +11:00
Oliver
ad851a653c Add default value for plugins_enabled to configuration template file 2022-01-11 12:34:34 +11:00
Oliver
a92ea1e5c7 Add PLUGINS_ENABLED variable in settings.py 2022-01-11 12:32:41 +11:00
Matthias
db197a98b6
PEP fix 2022-01-11 01:51:19 +01:00
Matthias
cd9e9a367b
PEP fix 2022-01-11 01:49:42 +01:00
Matthias
a31ff85c89
rename to make clearer 2022-01-11 01:45:20 +01:00
Matthias
7c51d0e399
PEP fix 2022-01-11 01:44:55 +01:00
Matthias
208bcb7707
and remove actions again 2022-01-11 01:41:56 +01:00
Matthias
2a7ad93173
move invenTreePlugin to new class
to enable depreceation
2022-01-11 01:41:33 +01:00
Matthias
52d90cef46
fix path 2022-01-11 01:29:57 +01:00
Matthias
86142856f7
PEP fixes 2022-01-11 01:25:21 +01:00
Matthias
0f7c277e69
docstrings 2022-01-11 01:19:03 +01:00
Matthias
d215af45f1
simplify code 2022-01-11 01:18:51 +01:00
Matthias
fa6a20712f
docstring 2022-01-11 01:13:52 +01:00
Matthias
9b02e3bdb7
reafactor 2022-01-11 01:13:36 +01:00
Matthias
9bb6bb294c
rename 2022-01-11 01:12:50 +01:00
Matthias
67a501f438
rename 2022-01-11 01:12:19 +01:00
Matthias
56772ccd02
docstring fix 2022-01-11 01:10:59 +01:00
Matthias
5424ee38e7
rename to makr internal functions as internal so 2022-01-11 01:10:34 +01:00
Matthias
0b9a6a1123
registry reanme fix 2022-01-11 01:09:04 +01:00
Matthias
9601811827
docstrings 2022-01-11 01:08:51 +01:00
Matthias
f612f57992
make registration simpler 2022-01-11 01:08:35 +01:00
Matthias
3ff4ed67c3
docstrings 2022-01-11 01:08:09 +01:00
Matthias
3ae84617d0
change default values for plugin hadler 2022-01-11 01:01:51 +01:00
Matthias
f53e66d4c3
Rename registry to make it clearer 2022-01-11 01:00:41 +01:00
Matthias
0283214034
add custom errors for plugin 2022-01-11 00:43:18 +01:00
Matthias
a3410a30d5
also load nuiltin actions 2022-01-11 00:35:01 +01:00
Matthias
dd2547e117
readd spaces 2022-01-11 00:32:56 +01:00
Matthias
c3d7a26f5d
readd api call (dont know how that happened) 2022-01-11 00:30:17 +01:00
Matthias
588936f6f4
PEP fix 2022-01-10 23:53:34 +01:00
Matthias
e08c87e49f
Merge branch 'matmair/issue2519' of https://github.com/matmair/InvenTree into matmair/issue2519 2022-01-10 23:52:00 +01:00
Matthias
0fecf3c0bc
fix assingment 2022-01-10 23:50:00 +01:00
Matthias
3b6e31cd35
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-10 23:48:43 +01:00
Oliver
410e5da371
Translationmerge (#2529)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-01-10 22:09:04 +11:00
Oliver
fde2b03172 Merge remote-tracking branch 'inventree/master' into triggers
# Conflicts:
#	InvenTree/plugin/mixins/__init__.py
2022-01-10 20:34:42 +11:00
Oliver
204f60405e
Merge pull request #2518 from matmair/api-mixin
[Plugin] API Call mixin
2022-01-10 20:33:17 +11:00
Oliver
4ae86c8c14 Reject triggered events when running special commands 2022-01-10 20:12:43 +11:00
Oliver
c848ca8d44 Handle errors when offloading tasks 2022-01-10 20:04:36 +11:00
Oliver
0a40c253a5 Do not fire events for some tables 2022-01-10 19:56:43 +11:00
Oliver
1243923944 Event refactoring 2022-01-10 17:28:44 +11:00
Oliver
886b1f1d72 Simplify event triggering
- add generic receivers for database actions
- exclude django_q tables, otherwise we get an infinite loop!

Ref: https://stackoverflow.com/questions/17507784/consolidating-multiple-post-save-signals-with-one-receiver/32230933#32230933
2022-01-10 17:24:53 +11:00
Matthias Mair
2bc4d57ffa
remove double code 2022-01-10 02:49:34 +01:00
Matthias
18cb676ce3
another PEP fix 2022-01-10 02:17:50 +01:00
Matthias
7d160039b1
PEP fixes 2022-01-10 02:15:58 +01:00
Matthias
e80a71eb46
load plugins too 2022-01-10 02:10:24 +01:00
Matthias
d03c636067
fix plugin init sequence 2022-01-10 02:10:08 +01:00
Matthias
632632c8ad
fix lookup function 2022-01-10 01:28:44 +01:00
Matthias
20e712a287
update barcodes to use mixin 2022-01-10 01:23:48 +01:00
Matthias
4fc3e85a53
use new loading mechanism for barcodes too 2022-01-10 01:06:05 +01:00
Matthias
13ff94b6b2
remove dead code 2022-01-10 01:05:32 +01:00
Matthias
bb559deb5d
add docstrings 2022-01-10 01:00:45 +01:00
Matthias
6affc7550b
add depreciation TODO 2022-01-10 01:00:12 +01:00
Matthias
bcb0f62e42
remove old loading mechanism 2022-01-10 00:59:24 +01:00
Matthias
8088bf28fe
refactor ActionPlugin to use mixin 2022-01-10 00:40:19 +01:00
Oliver
4ddd6bc351 Adds more triggered events for stock models 2022-01-10 09:16:18 +11:00
Oliver
67aac9c373 Add triggere events for the "company" app 2022-01-10 09:07:30 +11:00
Matthias
6af2267e3d
fix test 2022-01-09 23:05:51 +01:00
Oliver
13d8bf437a PEP fixes 2022-01-10 09:02:11 +11:00
Matthias
bf7af8f72a
cover another missing setting 2022-01-09 23:01:38 +01:00
Oliver
2370e41961 Add multiple triggered events for the "order" app 2022-01-10 09:01:17 +11:00
Matthias
afada6b759
test the url arg building 2022-01-09 22:56:14 +01:00
Oliver
5acd880f39 Fix for triggered events 2022-01-10 08:54:11 +11:00
Oliver
0002edc32c Hide "restart required" message in demo mode 2022-01-10 08:50:50 +11:00
Matthias
2c05b858a4
renmae var 2022-01-09 22:34:02 +01:00
Matthias
c8599039a2
added test for wrong config 2022-01-09 22:33:14 +01:00
Matthias
e889f487f0
added a check for the required constants 2022-01-09 22:27:50 +01:00
Matthias
31d587a9b1
unittests fdor ApiCallMixin 2022-01-09 22:19:01 +01:00
Matthias
c699ced34a
make general mixin tests multi mixin enabled 2022-01-09 22:16:19 +01:00
Oliver
936330d3d2 Add more triggered events 2022-01-09 23:07:12 +11:00
Oliver
e891e0a2b9 typo fix 2022-01-09 23:02:24 +11:00
Oliver
d765be8c73 Iterate through plugins in a separate background task 2022-01-09 22:58:59 +11:00
Oliver
3731d688c9 Refactor behaviour of "event" mixin:
- Trigger a new background task for each plugin
- Call plugin.process_event
- Plugin class can then decide what to do with the particular event
2022-01-09 22:52:28 +11:00
Oliver
6aa83796ea PEP fixes 2022-01-09 22:15:59 +11:00
Oliver
da9fa1313c Increased unit testing 2022-01-09 22:14:48 +11:00
Oliver
3e2e9aaf9e Mark serializer fields as not required 2022-01-09 20:10:00 +11:00
Matthias
ad9a9da656
PEP fix 2022-01-09 03:35:29 +01:00
Matthias
f9742ab41d
add integration test for plugin 2022-01-09 03:34:27 +01:00
Matthias
cc8948c708
fix sample url 2022-01-09 03:34:08 +01:00
Matthias
b48e9bcac9
fix settings call 2022-01-09 03:33:47 +01:00
Matthias
ea8fd21af0
pip fix 2022-01-09 03:10:23 +01:00
Matthias
ed193e9e90
docstring for plugin base import class 2022-01-09 03:04:00 +01:00
Matthias
61b21d1ec1
add sample for api caller 2022-01-09 03:03:05 +01:00
Matthias
19f2c44c2a
change mixin name 2022-01-09 03:02:19 +01:00
Matthias
33ee7e53db
append docstring 2022-01-09 03:01:50 +01:00
Matthias
d939107d36
add example 2022-01-09 03:01:31 +01:00
Oliver
af1bfb2f87 Merge remote-tracking branch 'inventree/master' into triggers 2022-01-09 08:15:47 +11:00
Matthias
3aea1bb7ba
made docstring clearer 2022-01-08 21:59:02 +01:00
Matthias
f59b59401f
refactor setting 2022-01-08 21:58:44 +01:00
Matthias
62394c4a82
small reformat 2022-01-08 21:54:42 +01:00
Matthias
3bc3e98ed1
Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2022-01-08 21:50:37 +01:00
Oliver
d8057e88e7 Fix messaging in build complete dialg 2022-01-09 07:50:08 +11:00
Matthias Mair
9e21dde6de
Merge branch 'inventree:master' into webhooks 2022-01-08 21:42:18 +01:00
Oliver
ff7a75266b Fixes for stock location forms 2022-01-08 20:28:57 +11:00
Oliver
af18d16d98 Tweak admin area icon 2022-01-08 20:19:18 +11:00
Oliver
77decc72ed Extra bug fix for part variant form 2022-01-08 20:07:54 +11:00
Oliver
137a668452 Remove duplicated settings display 2022-01-08 13:29:13 +11:00
Oliver
9e2250e9b8 Bug fixes for settings 2022-01-08 13:19:16 +11:00
Oliver
04d25a60b0 Adds sample plugin which responds to triggered events
- Adds some example trigger events for the "Part" model
2022-01-08 09:07:27 +11:00
Oliver
a604d85f0f Move events.py to the plugin app 2022-01-07 22:35:54 +11:00
Oliver
63eb49777a Add mixin class to respond to internal events 2022-01-07 22:29:19 +11:00
Oliver
8ff3bf1ad1 Adds a new setting to enable event responses 2022-01-07 21:53:42 +11:00
Oliver
1e5ecb13f0 Add code for triggering and responding to events 2022-01-07 21:48:17 +11:00
Matthias
220bf0db3a
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-install 2022-01-07 08:57:04 +01:00
Oliver Walters
8efd45f0ad log warning message if db not ready 2022-01-07 18:00:38 +11:00
Oliver Walters
668e2bfcd5 Further error catching 2022-01-07 17:20:57 +11:00
Oliver Walters
103dfaa2a5 try/catch for operational error
- Database might not yet be ready to load models
2022-01-07 17:11:53 +11:00
Oliver Walters
c04e07c1fa Add a task which fails on purpose 2022-01-07 17:04:33 +11:00
Oliver Walters
36feef6558 Remove log message if not relevent 2022-01-07 16:53:51 +11:00
Oliver Walters
3eb1fa32f9 Scheduled tasks get registered for the background worker 2022-01-07 16:51:00 +11:00
Oliver Walters
ff598a22ff bug fix : correct setting name when changing a 'requires restart' setting 2022-01-07 16:20:16 +11:00
Oliver Walters
0ab9b2dbc7 Bug fix - always allow plugins to register settings 2022-01-07 15:42:20 +11:00
Oliver Walters
794a9e75e8 Add validation for scheduled tasks defined by a plugin 2022-01-07 15:37:43 +11:00
Oliver Walters
326b897d14 Revert "Move mixins.py into main plugin directory"
This reverts commit 8103b84268.
2022-01-07 14:54:12 +11:00
Oliver Walters
0773545615 Add "ScheduleMixin" for scheduling tasks 2022-01-07 14:54:04 +11:00
Oliver Walters
8103b84268 Move mixins.py into main plugin directory 2022-01-07 14:23:32 +11:00
Oliver
7967c0c0bd
Merge pull request #2492 from SchrodingersGat/plugin-settings-refactor
Plugin settings refactor
2022-01-07 14:12:22 +11:00
Oliver Walters
aaf35e6c76 Customize text if totalRows not known 2022-01-07 13:14:47 +11:00
Oliver Walters
2bb1c4ea77 Remove old forms / outdated code 2022-01-07 11:34:33 +11:00
Oliver Walters
12b3a5c9cc Validate and save the new serailizer 2022-01-07 11:33:27 +11:00
Matthias
0974ebb5cd
shield plugin package load 2022-01-07 01:10:44 +01:00
Matthias
edc648d619
write installd plugins to plugins.txt 2022-01-07 01:09:44 +01:00
Matthias
ceed90217b
restructuring 2022-01-07 01:03:05 +01:00
Oliver Walters
960784644f Adds skeleton for new API endpoint for completing a build order 2022-01-07 10:50:29 +11:00
Matthias Mair
978018e284
Merge branch 'inventree:master' into matmair/issue2279 2022-01-07 00:08:17 +01:00
Matthias Mair
67e4fd9d34
Merge branch 'inventree:master' into webhooks 2022-01-07 00:08:11 +01:00
Oliver
8597ae89b6
Merge pull request #2504 from SchrodingersGat/plugin-docker-support
Plugin Installation Support
2022-01-06 14:48:00 +11:00
Oliver
d8d22e5f38 Refactor code (so that it actually runs)...
- Invoke does not have access to the local virtual environment
- Some functions need to be split out from settings.py
2022-01-06 14:20:26 +11:00
Oliver
836b6275b6 Removes custom plugins directory
- rely on plugins.txt instead
2022-01-06 13:31:04 +11:00
Lennart Deters
6edfe08bde Dont localize item.quantity in JS Code 2022-01-06 03:05:29 +01:00
Oliver
75d5f9d6e6 Allow specification of an external plugin directory
- Specify directory using INVENTREE_PLUGIN_DIR
- Specify installation file using INVENTREE_PLUGIN_FILE
2022-01-06 12:39:01 +11:00
Oliver
5c2121b1a1 Add invoke target to install plugins from file 2022-01-06 12:25:07 +11:00
Oliver
e0e6dbac94 Add PLUGIN_FILE to settings.py 2022-01-06 12:15:33 +11:00
Oliver
ff80fe4dbf
Translation merge (#2499)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-01-05 15:14:03 +11:00
Oliver
963ac35a5b Tweaks for settings pages 2022-01-04 21:57:09 +11:00
Oliver
ac849c1566 Fixes for unit tests 2022-01-04 21:36:27 +11:00
Oliver
928b90a833 Edit plugin settings via the "settings" display 2022-01-04 21:03:01 +11:00
Oliver
dc9e25ebad Adds API endpoints for viewing and updating plugin settings
A lot of code updates / refactoring here to get this to work as expected
2022-01-04 20:27:35 +11:00
Oliver
f3bfe6e7ca More refactoring:
- Rename "mixins_globalsettings" to "mixing_settings"
- Fix translation on settings page template
2022-01-02 11:22:05 +11:00
Oliver
737467a1fd Rename "has_globalsettings" -> "has_settings" 2022-01-01 23:14:34 +11:00
Oliver
7cb029e7c3 Refactor: Rename "GLOBAL_SETTINGS" to "SETTINGS" 2022-01-01 22:43:35 +11:00
Oliver
7f08c75a08 Add missing migration file 2022-01-01 22:00:58 +11:00
Oliver
547db3322f Adds new "PluginSetting" class
- Adds settings which are unique to a particular plugin
2022-01-01 22:00:43 +11:00
Oliver
182849e160 Fix for settings template 2021-12-31 15:24:56 +11:00
Oliver
553b998c9c CSS fixes 2021-12-31 15:23:44 +11:00
Oliver
9b468ba92e Second fix for the first fix 2021-12-31 15:20:32 +11:00
Oliver
78120bb020 Fixes for unit tests 2021-12-31 14:54:19 +11:00
Oliver
4b4d4be13e Registry name fixes 2021-12-31 14:28:16 +11:00
Oliver
02e0ea6e3a Rename "GlobalSettingsPlugin" -> "SettingsPlugin" 2021-12-31 14:25:22 +11:00
Oliver
e02a2cef1b Fixes unit test 2021-12-31 14:18:27 +11:00
Oliver
572f4a21b3 capitalization 2021-12-30 23:13:33 +11:00
Oliver
76fe774b6e Visual tweaks 2021-12-30 23:11:12 +11:00
Oliver
f97ffaf9c3 Visual tweak to settings page 2021-12-30 23:08:33 +11:00
Oliver
be3bb05edd Improve docstrings 2021-12-30 23:06:28 +11:00
Oliver
04820c894b getattr should look for "SETTINGS" and not "GLOBALSETTINGS" 2021-12-30 23:04:08 +11:00
Oliver
67d9d9413f Plugin code bug fix
- handle case where self.plugin is None
2021-12-30 22:58:11 +11:00
Matthias Mair
5c4c9bfaed
Merge branch 'inventree:master' into matmair/issue2279 2021-12-29 23:54:54 +01:00
Matthias Mair
b6b6e10f4d
Merge branch 'inventree:master' into webhooks 2021-12-29 23:54:48 +01:00
Matthias Mair
d763959269
Merge branch 'inventree:master' into api-mixin 2021-12-29 23:54:33 +01:00
Matthias
95ee4f908f
Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append 2021-12-29 23:45:19 +01:00
Matthias
f2c1fe1f95
damm vscode intellisense adding stuff I do not need 2021-12-29 16:16:20 +01:00
Matthias
ed09d5015a
better group handeling 2021-12-29 16:13:44 +01:00
Matthias
410c190ddf
more docs 2021-12-29 15:53:23 +01:00
Matthias
972f93f6d8
always return a number 2021-12-29 15:53:04 +01:00
Matthias
624b16a419
fix pep style 2021-12-29 15:51:44 +01:00
Matthias
1eb9b395bc
more complicated tests 2021-12-29 15:43:34 +01:00
Matthias
b1188be019
fix test assertations 2021-12-29 15:34:03 +01:00
Matthias
a745aa500e
replace must be str 2021-12-29 03:02:43 +01:00
Matthias
2ec41b02f8
append information about next serial numbe to fnc call
Fixes #2484
2021-12-29 03:01:52 +01:00
Matthias
1d0aa900e8
add helper fnc to get latest SN as int 2021-12-29 02:50:23 +01:00
Matthias
771f3d6b7b
add fnc for new matcher 2021-12-29 02:38:32 +01:00
Matthias
7ef0e7941e
expand tests
TDD for the win?
2021-12-29 02:24:57 +01:00
Matthias
750e3297cc
expand docstring 2021-12-29 02:24:13 +01:00
Matthias
c9f0528dfc
append api call 2021-12-29 02:24:00 +01:00
Matthias
f8ce23217e
simplify call 2021-12-29 02:22:10 +01:00
Oliver
3921af821c Fix filtering for part purchase order table 2021-12-22 10:58:46 +11:00
Oliver
774d834b7e
Merge pull request #2477 from SchrodingersGat/duplicate-bom-form
Duplicate bom form
2021-12-21 23:06:44 +11:00
Oliver
2c0da25cbc "Validate BOM" now uses the API also 2021-12-21 22:45:59 +11:00
Oliver
70f9a0fe13 Furher logic improvements to BOM copy
- Remove "self" part from list
- Stop inherited BOM items from being copied incorrectly
- Allow user to select whether "inherited" BOM items are copied
2021-12-21 22:07:08 +11:00
Oliver
0c8a047bc2 Adds simply endpoint for BOM duplication 2021-12-21 17:29:14 +11:00
Oliver
f0c41b3b70
Merge pull request #2475 from SchrodingersGat/table-filternig
Table filtering
2021-12-21 17:17:18 +11:00
Oliver
1c08c1e602
Translation merge (#2474)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-12-21 16:57:17 +11:00
Oliver
0060bb074e Updates for various part views 2021-12-21 16:56:47 +11:00
Oliver
103f98b665 Adds "reload" button to attachment table(s) 2021-12-21 16:51:26 +11:00
Oliver
dbc385ac24 Fix for "supplier-parts" view 2021-12-21 16:48:34 +11:00
Oliver
9884c0fadb Adds filters for "manufacturer-parts" list 2021-12-21 16:47:20 +11:00
Oliver
46aeafb5da Adds filter for "assigned stock" view on customer page 2021-12-21 16:44:49 +11:00
Oliver
0a21512329 Adds refresh and filtering for "company" table 2021-12-21 16:41:34 +11:00
Oliver
52ca2e5068 Add another check for merging stock 2021-12-21 09:29:12 +11:00
Oliver
dd53748f9f Cleanup models 2021-12-21 08:49:53 +11:00
Oliver
785c5edf96 Reduce verbosity of translation coverage stats script 2021-12-21 08:13:38 +11:00
Oliver
fcb2bb2a46 Fix behaviour on deleting parent stock item 2021-12-21 01:03:37 +11:00
Oliver
552ca8e5c4 Adds javascript function to merge multiple stock items together 2021-12-20 22:09:08 +11:00
Oliver
31dbb9563b Add some unit tests for the new endpoint 2021-12-20 21:25:27 +11:00
Oliver
943b27e195 Adds "items" list to API endpoint 2021-12-20 19:29:08 +11:00
Oliver
5ca50022b9 Incremenent API version 2021-12-20 18:47:51 +11:00
Oliver
fdf79065a9 Adds framework for API endpoint and serializer to merge stock items 2021-12-20 18:03:08 +11:00
Oliver
189f836e47
Merge pull request #2466 from SchrodingersGat/depleted-badge
Float "depleted" badge to the right
2021-12-20 14:25:03 +11:00
Oliver
c060bc0815 Float "depleted" badge to the right 2021-12-20 13:30:54 +11:00
Oliver
ec4f898562 Cleanup search results page 2021-12-20 13:10:48 +11:00
Oliver
81a3547120 Hide "receive parts" button for orders which have been cancelled 2021-12-20 11:17:29 +11:00
Oliver
30f509ad32 Clip overflow 2021-12-16 08:27:55 +11:00
Matthias
0ee36b360d
Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2021-12-15 00:22:34 +01:00
Matthias Mair
3ed8fc6ad4
Merge branch 'inventree:master' into webhooks 2021-12-15 00:21:03 +01:00
Matthias Mair
acbee38600
Merge branch 'inventree:master' into matmair/issue2279 2021-12-15 00:20:48 +01:00
Oliver
597d26d3d4
Merge pull request #2452 from SchrodingersGat/bom-export-form-fixes
BOM export form fixes
2021-12-14 23:15:51 +11:00
sintech
58364bb3b5 JS style fix 2021-12-14 11:30:09 +03:00
Matthias
251fdeb69e
PEP fixes 2021-12-13 18:01:20 +01:00
sintech
b6d9bc3093 Remove treeview state saving. 2021-12-13 15:51:34 +03:00
Oliver
36026a9217 PEP fixes 2021-12-13 23:15:06 +11:00
Oliver
922b8b1c30 Fix typo
(cherry picked from commit 673a5779f9)
2021-12-13 23:12:18 +11:00
Oliver
01ce752a8c BOM export options are now han
(cherry picked from commit c797eb0703)
2021-12-13 23:12:11 +11:00
Oliver
88fc0393b7 Logic fix for boolean fields in JS forms
(cherry picked from commit 10dec7743e)
2021-12-13 23:11:56 +11:00
Oliver
d75ce451be Allow user to select file format when downloadin BOM import template
(cherry picked from commit 8030ca0bb9)
2021-12-13 23:11:42 +11:00
Matthias
8e962c0c59
add mixin to consum a single API 2021-12-13 08:03:19 +01:00
sintech
40f73b00ce Propagate expanded state all the way to the root 2021-12-12 19:59:18 +03:00
sintech
e9650a94f3 Do not show icons for childless categories 2021-12-12 19:57:30 +03:00
Oliver
a2357b5b46 Fix decimal places for money field 2021-12-12 22:18:29 +11:00
Matthias
41302398e9
managment and invoke commands to remove mfa 2021-12-11 23:07:37 +01:00
Matthias
67b3c339b9
add back button to setup screen 2021-12-11 22:10:05 +01:00
Matthias Mair
271ad1dc87
Merge branch 'inventree:master' into matmair/issue2279 2021-12-11 00:09:32 +01:00
Matthias Mair
f6d43946b3
Merge branch 'inventree:master' into webhooks 2021-12-11 00:08:56 +01:00
Matthias Mair
89758f28b2
Merge branch 'inventree:master' into matmair/issue2201 2021-12-11 00:08:29 +01:00
Oliver
dfd7a439a6
Merge pull request #2445 from SchrodingersGat/issue2250
Issue2250
2021-12-11 09:15:37 +11:00
Oliver
c35971c524
Merge pull request #2448 from SchrodingersGat/build-allocation-fixes
Correctly allow "inherited" BOM items to be allocated to a build order
2021-12-11 08:10:26 +11:00
Oliver
438bbb5c03
Translation merge (#2447)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-12-11 01:11:27 +11:00
Oliver
1dafa040f9 Move 'quantity' field 2021-12-11 01:08:18 +11:00
Oliver
d573668f81 Correctly allow "inherited" BOM items to be allocated to a build order
- Some back-end logic was not running correctly
2021-12-11 01:05:19 +11:00
Oliver
e1a5192604 Calculate how many items to assign to sales order
- Do not over-allocate by default
2021-12-11 00:45:53 +11:00
Oliver
b908aa2467 fix js linting issues 2021-12-11 00:33:16 +11:00
Oliver
9e16989c91 Add same breadcrumb tree for StockLocation and StockItem 2021-12-11 00:25:59 +11:00
Oliver
e9ae3eb01d Revert to bootstrap-treeview
- More "bootstrappy" design
- Already in code base
- Cleaner API
2021-12-11 00:25:44 +11:00
Oliver
3bc3ff493a CSS tweaks 2021-12-10 22:53:24 +11:00
Oliver
7dcd166d50 Change "sidetree" to "breadcrumb-tree" 2021-12-10 22:53:19 +11:00
Oliver
8c018cf987 Add href to nav toggle (so mouse cursor changes) 2021-12-10 22:31:50 +11:00
Oliver
ffe970d139 Move "sidetree" to underneath breadcrumbs 2021-12-10 22:31:11 +11:00
Matthias
e6ad22ec15
fix plugin urlpattern patching 2021-12-10 01:34:47 +01:00
Matthias
c6b88c2f24
Merge branch 'matmair/issue2279' of https://github.com/matmair/InvenTree into matmair/issue2279 2021-12-10 00:22:49 +01:00
Matthias
023cd53b1a
fix test that failing deliveries do not block 2021-12-10 00:22:25 +01:00
Matthias Mair
25e0324eb1
Merge branch 'inventree:master' into matmair/issue2279 2021-12-09 23:56:27 +01:00
Matthias Mair
ac0a5d4efc
Merge branch 'inventree:master' into webhooks 2021-12-09 23:56:18 +01:00
Matthias Mair
75aeab48b8
Merge branch 'inventree:master' into matmair/issue2250 2021-12-09 23:56:08 +01:00
Matthias
869324249e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-12-09 23:54:55 +01:00
Matthias
18244f0adf
docstring 2021-12-09 23:54:23 +01:00
Matthias
ceb06c6e62
require MFA for admin if set 2021-12-09 23:54:02 +01:00
Oliver
2b27fab771
Merge pull request #2436 from SchrodingersGat/assign-to-customer
Assign to customer
2021-12-09 10:41:57 +11:00
Oliver
fefe39b88d Fixes for unit tests 2021-12-09 10:04:33 +11:00
Oliver
c1163b9f6b Adds missing semicolon 2021-12-09 09:07:36 +11:00
Matthias
ba921b45ff
remove state from api interface 2021-12-08 22:44:01 +01:00
Matthias
3a3f8ba4ef
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-12-08 18:31:33 +01:00
Matthias Mair
b8404c44b4
Merge branch 'inventree:master' into webhooks 2021-12-08 18:28:11 +01:00
Matthias Mair
cdcac90319
Merge branch 'inventree:master' into matmair/issue2279 2021-12-08 18:27:57 +01:00
Matthias
cfa576d03d
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-08 18:26:49 +01:00
Oliver
4a453b0a35 Assign multiple stock items to a customer at one 2021-12-09 00:33:45 +11:00
Oliver
96a885e4e1 client side form for assigning stock items to customers 2021-12-09 00:20:45 +11:00
Oliver
c36687af22 Add unit test for new API serializer 2021-12-08 23:45:47 +11:00
Oliver
e0d52843a4 Basic stock assignment serializer implementation 2021-12-08 23:42:27 +11:00
Oliver
88840e6adb
Merge pull request #2435 from SchrodingersGat/old-session-fix
Remove old task to delete expired sessions
2021-12-08 22:49:51 +11:00
Oliver
b19a7cc4fb Run at app startup, not as a migration 2021-12-08 22:26:59 +11:00
Matthias
1cc1fca5fe
set background color 2021-12-08 02:06:55 +01:00
Matthias
2725a2eb87
disable icons 2021-12-08 02:01:26 +01:00
Matthias
79a60ff895
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-08 01:11:35 +01:00
Matthias
12afb19dfa
move toggle 2021-12-08 01:11:21 +01:00
Matthias
45181904af
fix icon 2021-12-08 00:26:56 +01:00
Matthias
5ed163dd71
add new toggler 2021-12-08 00:22:00 +01:00
Matthias
821f9389d5
remove old links 2021-12-08 00:19:17 +01:00
Matthias
ff5095a270
remove children -> used for reloading 2021-12-08 00:07:05 +01:00
Matthias
596532f312
only one api call 2021-12-08 00:05:34 +01:00
Oliver
c8c35e2f04 Remove old task to delete expired sessions
- Does not apply any more with new session management
2021-12-08 09:55:41 +11:00
Matthias
948270bbcb
add stuff to mark starting endpoint 2021-12-07 23:54:45 +01:00
Weng Tad
c143826e9b fix: stock tracking table aligment
Fixes #2428
2021-12-07 13:59:51 +08:00
Oliver
f2b966fac5
Merge pull request #2433 from SchrodingersGat/string-fix
Translateable string fixes
2021-12-07 11:29:44 +11:00
Matthias
2cf4e20d9a
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-07 01:16:32 +01:00
Matthias
fbc4cfe166
remove always show 2021-12-07 00:52:14 +01:00
Matthias
46279c8172
fix design refs 2021-12-07 00:51:44 +01:00
Oliver
1a85e4f21d Translateable string fixeas 2021-12-07 10:51:40 +11:00
Matthias
2fa67707bd
Add text 2021-12-07 00:51:27 +01:00
Matthias
99a62b2934
move border on right side to items 2021-12-07 00:41:37 +01:00
Oliver
463192e0b9 Improved table filtering for "purchase order" table (as seen from "part" view) 2021-12-07 10:33:09 +11:00
Matthias
61bdf8937c
style fix 2021-12-07 00:30:50 +01:00
Matthias
388b42a407
use sidebar-wrapper for styleing 2021-12-07 00:26:36 +01:00
Matthias
f375ba96ae
add sidetree toggler function 2021-12-07 00:21:33 +01:00
Matthias
b5ae9edc2e
style fixes 2021-12-06 23:48:21 +01:00
Oliver
1ad91811a5
Merge pull request #2426 from nwns/feature/qcluster_redis
Q_CLUSTER is using the database for its broker
2021-12-07 09:24:29 +11:00
Matthias
c703f9993f
make url simpler 2021-12-06 22:37:42 +01:00
Matthias
8e425e67a1
reduce 2021-12-06 22:37:17 +01:00
Matthias
70939a0cf9
first working example 2021-12-06 22:35:14 +01:00
Matthias
de4d057b93
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-06 01:37:48 +01:00
Matthias
9ebbf8190c
add tree to replication 2021-12-06 01:35:14 +01:00
Matthias
416bcb822b
remove unneeded sidebar block 2021-12-06 01:34:16 +01:00
Matthias
49f9cc7edc
modifiy sidebar code 2021-12-06 01:33:41 +01:00
Oliver
b7f3a044d9
Merge pull request #2427 from nwns/fix/overlapping_currency
Swallow Serialization failure while updating exchange rates
2021-12-06 09:49:54 +11:00
Oliver
44d35d06f4 Merge remote-tracking branch 'inventree/master' into maintenance-mode-state-file
# Conflicts:
#	InvenTree/InvenTree/settings.py
2021-12-06 09:16:44 +11:00
Oliver
da020f6fd6 Remove extra options 2021-12-06 09:05:13 +11:00
Nigel
a9f584cb65
fix: swallow Serialization failure
We can swallow the serialization exception because there is a scheduled
task that will update these later anyway.

Fixes #2241
2021-12-05 09:24:57 -07:00
Nigel
561fd6afc1
fix: Q_CLUSTER is using the database for its broker
Q_CLUSTER is using the database as its broker, and adding cache
configuration for it and not using it is pointless.  But rather than
change Q_CLUSTER's configuration to use redis as the broker, lets just
leave it using the database as the database broker has its advantages.
2021-12-05 09:04:54 -07:00
Oliver
93a240d9c3 Remove the "scheduled_for_deletion" field from the StockItem model
Reverts back to the original behaviour - stock items are just deleted
2021-12-05 18:14:14 +11:00
Oliver
a821717103 Add a data migration which deletes any stock items which have been scheduled for deletion.
Also deletes any instance of the "delete_old_stock_items" worker task
2021-12-05 17:56:39 +11:00
Oliver
ae8166984f Adjustments for maintenance-mode options:
- Brings the state into the same directory as the runtime config file
2021-12-05 17:28:46 +11:00
Matthias
529987bb17
remove unneeded Todo 2021-12-04 19:52:56 +01:00
Matthias
ed5bb3d264
turn around template loader order 2021-12-04 19:49:43 +01:00
Matthias
5567ee432a
more coverage 2021-12-04 18:50:49 +01:00
Matthias
d156e4c431
make simpler 2021-12-04 18:44:31 +01:00
Matthias
2413119cc1
seperate wrong implementations into own cases 2021-12-04 18:42:08 +01:00
Matthias
bb2ad7c2cb
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-12-04 18:04:47 +01:00
Matthias Mair
1060f60117
Merge branch 'inventree:master' into webhooks 2021-12-04 17:53:21 +01:00
Matthias Mair
2a0e07abe0
Merge branch 'inventree:master' into matmair/issue2201 2021-12-04 17:53:13 +01:00
Matthias Mair
0d9f76a019
Merge branch 'inventree:master' into matmair/issue2279 2021-12-04 17:52:58 +01:00
Matthias
2ef8c25c05
directer import 2021-12-04 17:46:04 +01:00
Matthias
8724471fc0
rename 2021-12-04 17:45:52 +01:00
Matthias
ce726f89a1
refactor wrong implementations into own testcase 2021-12-04 17:45:40 +01:00
Matthias
13b390d69b
test that single errors do not kill the whole 2021-12-04 17:44:10 +01:00
Matthias
cfd509adb4
PEP fix 2021-12-04 17:43:11 +01:00
Matthias
58f0838d3d
improve coverage 2021-12-04 17:24:41 +01:00
Matthias
0b6cceb998
this should not happen 2021-12-04 17:23:35 +01:00
Matthias
cccbc567fe
delivery must be true 2021-12-04 17:23:04 +01:00
Oliver
120870712a
Merge pull request #2420 from SchrodingersGat/assigned-to-me
Assigned to me
2021-12-04 23:08:08 +11:00
Oliver
66462d0a68 Fix for APIFilter 2021-12-04 22:07:55 +11:00
Oliver
20dac08158 PEP fixes 2021-12-04 21:31:39 +11:00
Oliver
9e1251d78d Adds "assigned_to_me" filtering to build orders 2021-12-04 21:30:11 +11:00
Oliver
087ac0bd34 Adds filter to purchase order for "assigned to me" 2021-12-04 21:15:38 +11:00
Oliver
cdf63c43aa Add autocomplete fields to admin views for "build" app 2021-12-04 20:17:36 +11:00
Oliver
71aa6a910d Adds autocomplete fields to admin pages for "company" app 2021-12-04 20:14:12 +11:00
Oliver
1667af4c07 Add autocomplete fields to "order" admin pages 2021-12-04 20:09:39 +11:00
Oliver
e83b5f9db0 Add autocomplete admin fields for "part" app 2021-12-04 20:01:56 +11:00
Oliver
cde85a5168 Add autocomplete fields to admin views for "stock" app:
- StockItem
- StockLocation
- StockItemTestResult
- StockItemAttachment
- StockItemTracking
2021-12-04 19:25:57 +11:00
Oliver
ab80980b5a
Translation merge (#2418)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-12-04 19:11:17 +11:00
Oliver
9ec5e39c50 js tweaks 2021-12-04 17:50:25 +11:00
Oliver
9e35c52b1d unit testing fixes 2021-12-04 17:30:13 +11:00
Matthias
7016c253a8
fix test to trigger 2021-12-04 04:38:45 +01:00
Matthias
55ca284a13
Revert "this wont happen"
This reverts commit 3047bd6612.
2021-12-04 04:22:07 +01:00
Matthias
3047bd6612
this wont happen 2021-12-04 04:11:42 +01:00
Matthias
e25759c1ac
check message counters too 2021-12-04 04:08:11 +01:00
Matthias
d8ca87057b
cover another line 2021-12-04 04:07:47 +01:00
Matthias
75c7722612
PEP fixes 2021-12-04 03:57:45 +01:00
Matthias
f88882da8e
without targets it wont work 2021-12-04 03:56:16 +01:00
Matthias
6c6683657e
remove debug prints 2021-12-04 03:51:40 +01:00
Matthias
453589dbcb
docs 2021-12-04 03:50:37 +01:00
Oliver
31398b4c10 Sales order can now be completed via the API 2021-12-04 13:50:11 +11:00
Matthias
373c061389
rename to be clearer what the funtions and vars are fore 2021-12-04 03:49:44 +01:00
Matthias
01ad534664
use the same names as in messages model 2021-12-04 03:46:57 +01:00
Matthias
733fc4b718
forgot that before 2021-12-04 03:46:35 +01:00
Matthias
2ea32d200a
rename 2021-12-04 03:45:45 +01:00
Matthias
c10841fe0e
and again 2021-12-04 03:44:59 +01:00
Matthias
3a8909f0d4
and a bit more renaming 2021-12-04 03:44:07 +01:00
Matthias
fc1fa775c3
rename 2021-12-04 03:43:14 +01:00
Matthias
057c880377
fix test calls 2021-12-04 03:41:05 +01:00
Matthias
1cfc03d698
add a general context checker 2021-12-04 03:40:53 +01:00
Matthias
3239e60702
add comments to show execution flow 2021-12-04 03:37:13 +01:00
Oliver
008c52ef39 Allocation by serial number now moved to the API 2021-12-04 13:08:00 +11:00
Matthias
1ef7163b94
remove one uncovered line :-) 2021-12-04 02:39:41 +01:00
Matthias
1ba7110cda
change templates to new way 2021-12-04 02:19:12 +01:00
Matthias
febc51466a
use a more gnerall counting method 2021-12-04 02:13:53 +01:00
Matthias
dceea757e1
create a notification message! 2021-12-04 02:12:51 +01:00
Matthias
c803fdaab1
PEP fix 2021-12-04 01:39:58 +01:00
Matthias
1f7a75ca92
docs are never bad 2021-12-04 01:10:56 +01:00
Matthias
4e07b4bf72
fix tests + method name test 2021-12-04 01:10:46 +01:00
Matthias
e18f7d49cc
make mehtod name mandatory 2021-12-04 01:07:07 +01:00
Matthias
0f3a78c7be
refactor method name 2021-12-04 00:58:13 +01:00
Oliver
e9796676c0 Add a progress spinner to modal forms 2021-12-04 10:44:48 +11:00
Matthias
33b7d9b845
more debug prints 2021-12-04 00:43:46 +01:00
Oliver
9ba6ac423d Add shipment status to sales order page 2021-12-04 10:16:51 +11:00
Oliver
921ef5ae9e Tweaks to PO and SO tables 2021-12-04 10:11:18 +11:00
Oliver
1215ef520d Further JS linting 2021-12-04 09:44:23 +11:00
Oliver
35b3bc73cc Merge remote-tracking branch 'inventree/master' into partial-shipment
# Conflicts:
#	InvenTree/order/api.py
2021-12-04 09:35:54 +11:00
Oliver
3abad2f73d js linting 2021-12-04 09:33:42 +11:00
Oliver
f6e1de42f5 JS linting 2021-12-03 21:16:58 +11:00
Oliver
acfafe22c5 order lines can be received directly from the new table 2021-12-03 21:07:09 +11:00
Oliver
6d90ded27f First pass at a part-purchase-order table 2021-12-03 20:54:21 +11:00
Oliver
43ee4e390a API updates
- Allow filtering of POLineItem list endpoint by base part instance
- Include "order detail" in POLineItem serializer
2021-12-03 20:53:59 +11:00
Oliver
c93009876d UI changes 2021-12-03 20:14:09 +11:00
Oliver
88fce1e813 Unit test fixes 2021-12-03 18:42:36 +11:00
Matthias
daebae81c1
fix spelling
using c instead of k does not make it Englisch
2021-12-03 08:00:04 +01:00
Matthias
86014dd4c9
fix panel headings 2021-12-03 07:58:47 +01:00
Matthias
6e464447f5
markers for notification tests 2021-12-03 07:51:21 +01:00
Oliver
d7c87300c6 Merge remote-tracking branch 'inventree/master' into partial-shipment 2021-12-03 17:31:27 +11:00
Oliver
7362162764 Use different colors for "pending" orders status 2021-12-03 15:20:49 +11:00
Matthias
2917af9715
add marker statment to wrong implementations 2021-12-03 02:02:51 +01:00
Matthias
79bab93afc
refactor into new test file 2021-12-03 02:01:17 +01:00
Matthias
cf6415ddba
Merge branch 'matmair/issue2279' of https://github.com/matmair/InvenTree into matmair/issue2279 2021-12-03 01:58:53 +01:00
Matthias
f4f390f4c2
PEP fix 2021-12-03 01:58:27 +01:00
Oliver
6b29e60494 Fixes for migration tests 2021-12-03 11:12:49 +11:00
Matthias
0f0460f8ea
merge 2021-12-02 17:24:07 +01:00
Matthias
329b00ae07
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-12-02 17:16:26 +01:00
Matthias Mair
4904beb45a
Merge branch 'inventree:master' into webhooks 2021-12-02 17:08:36 +01:00
Matthias Mair
932b78d3e8
Merge branch 'inventree:master' into matmair/issue2279 2021-12-02 17:08:18 +01:00
Oliver
3c3dd9368d Do not auto-complete salesorder when shipment is done
- User might want to add more line items?
2021-12-03 00:45:44 +11:00
Oliver
732034d9e5 Merge conflicting migrations 2021-12-03 00:43:10 +11:00
Oliver
96c1f74cd8
Merge pull request #2408 from SchrodingersGat/initial-stock-when-duplicating
Add option for creating initial stock quantity when duplicating a part
2021-12-03 00:29:37 +11:00
Oliver
84a4060cd9
Merge pull request #2401 from matmair/load-minified-fa
Load minified fa
2021-12-03 00:23:58 +11:00
Oliver
80b615bfb7 Import fix 2021-12-03 00:08:05 +11:00
Oliver
9ca6204d4b Add option for creating initial stock quantity when duplicating a part
Fixes https://github.com/inventree/InvenTree/issues/2407
2021-12-03 00:05:55 +11:00
Oliver
93173ef1ee Merge remote-tracking branch 'inventree/master' into partial-shipment
# Conflicts:
#	InvenTree/order/serializers.py
2021-12-02 23:58:52 +11:00
Oliver
ecf70b6d4d Some PEP fixes 2021-12-02 23:58:02 +11:00
Oliver
e1668c8662 More stuffs:
- Allow filtering of salesorderlineitem by "completed" status
- Allow deletion of (empty) shipment
- Show which items are going to be shipped
2021-12-02 23:52:53 +11:00
Matthias
6657d093d7
PEP fixes 2021-12-02 12:13:03 +01:00
Matthias
b0fb5657e8
also validate serial number 2021-12-02 12:11:09 +01:00
Oliver
e74e7138a9 More stuff:
- Pass tracking number through when completing a shipment
- Reload tables automatically when certain actions are performed
- Limit stock items to only those with available stock
2021-12-02 21:59:59 +11:00
Oliver
d5ace1a8da Differentiate between "fully allocated" and "partially allocated" in stock item table 2021-12-02 21:46:05 +11:00
Oliver
586d38fb61 Add item count to shipment table 2021-12-02 21:40:21 +11:00
Oliver
123aab89bc Adds an "available" filter for stock item API 2021-12-02 21:40:03 +11:00
Matthias
bd60364deb
maybe addd a package 2021-12-02 11:20:32 +01:00
Matthias
df9d189ca0
maybe this move helps`? 2021-12-02 11:17:35 +01:00
Matthias
48f28ad5bb
move package.json 2021-12-02 11:03:24 +01:00
Matthias
65d5ed1bdf
raise not implemented 2021-12-02 10:54:04 +01:00
Matthias
162d4347e7
more implementation tests 2021-12-02 10:53:46 +01:00
Matthias
ae13672273
refactor to enable use in notification tests 2021-12-02 10:52:21 +01:00
Oliver
6ec0cfc641 Merge branch 'master' into partial-shipment
# Conflicts:
#	InvenTree/company/templates/company/company_base.html
#	InvenTree/stock/templates/stock/item_base.html
2021-12-02 20:49:13 +11:00
Matthias
84499f4b10
better description 2021-12-02 10:22:39 +01:00
Matthias
004687a29f
test implementation checks 2021-12-02 10:14:04 +01:00
Matthias
eb5a87c530
rename test 2021-12-02 10:05:12 +01:00
Matthias
c2a6a8a30c
PEP fix 2021-12-02 10:01:20 +01:00
Matthias
1b9ca41b46
added setup function to notification method
and added calls to deliver_method
2021-12-02 09:52:30 +01:00
Matthias
803936130c
doc spell fixing 2021-12-02 09:46:50 +01:00
Matthias
4e29fed164
spell fixing 2021-12-02 09:46:12 +01:00
Matthias
7ed18c1bfd
spell fixing 2021-12-02 09:44:35 +01:00
Matthias
61b6590f52
raise if not implemented 2021-12-02 09:42:50 +01:00
Matthias Mair
cf3d2d0df9
Merge branch 'inventree:master' into load-minified-fa 2021-12-02 09:23:13 +01:00
Matthias Mair
11e527a02a
Merge branch 'inventree:master' into plugin-2037 2021-12-02 09:23:05 +01:00
Matthias Mair
fcf7f615aa
Merge branch 'inventree:master' into webhooks 2021-12-02 09:22:48 +01:00
Matthias
0379498ee3
merge master in 2021-12-02 09:17:57 +01:00
Matthias
970cec590b
only values starting with int possible -> only positive values 2021-12-02 09:06:58 +01:00
Matthias
7992755b37
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2400 2021-12-02 09:04:10 +01:00
Oliver
8c6b82d2c0
Merge pull request #2405 from SchrodingersGat/jump-to-sn
Jump to sn
2021-12-02 16:26:21 +11:00
Oliver
e96ff7fbba Add lookup-by-sn on part page, too 2021-12-02 16:01:28 +11:00
Oliver
98bbee8159 Adds function to lookup stock item by serial number 2021-12-02 15:55:00 +11:00
Matthias
8776492aa9
fix docs 2021-12-02 02:54:48 +01:00
Matthias
6dda000292
fix case 2021-12-02 02:52:50 +01:00
Matthias
98cf3cd3ad
log results of delivery 2021-12-02 02:52:18 +01:00
Matthias
2038c2250d
fix notify_low_stock context 2021-12-02 02:42:57 +01:00
Matthias
f0ebc3fdbf
fix checks if function exsists 2021-12-02 02:37:16 +01:00
Matthias
275569dab4
fix mail comparison 2021-12-02 02:36:00 +01:00
Matthias
55a8536636
fix case 2021-12-02 02:35:10 +01:00
Matthias
ea5848d174
add mailadress to user 2021-12-02 02:34:45 +01:00
Matthias
e678e8bd05
fix init checks 2021-12-02 02:32:02 +01:00
Matthias
7974559ead
add tests for testing notifications 2021-12-02 02:24:33 +01:00
Matthias
e0462c2bab
do not run through template classes 2021-12-02 02:23:28 +01:00
Matthias
916ef0d6c4
add receiver to single send metod 2021-12-02 01:26:30 +01:00
Matthias
c4f1a81c9c
fix permissions for test 2021-12-02 01:18:45 +01:00
Matthias
b8cdcab10d
fix validation 2021-12-02 01:03:30 +01:00
Oliver
514d5662ea Serial number button CSS tweaks 2021-12-02 11:02:17 +11:00
Matthias
3bff676047
beginner mistake
it is a referenced part so use related_name as prefix
2021-12-02 00:24:36 +01:00
Matthias
25a76d37e7
and PEP again 2021-12-02 00:11:02 +01:00
Matthias
8c3b4badfb
and cleanup again 2021-12-02 00:08:46 +01:00
Matthias
50a046d3da
PEP fixes 2021-12-02 00:06:26 +01:00
Matthias
61b53a10b0
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2021-12-01 23:59:22 +01:00
Matthias
95fa34f797
search by MPN
Fixes #2403
2021-12-01 23:56:31 +01:00
Matthias
fc6f1b4acc
unittests to show the fix works 2021-12-01 23:45:16 +01:00
Matthias
7273ed74c6
clean up PR 2021-12-01 23:38:24 +01:00
Matthias
7c9201730a
add warning to ReferenceIndexingMixin to use the serializer mixin 2021-12-01 23:36:44 +01:00
Matthias
dc65634abc
use mixin on all serializers whos models use ReferenceIndexingMixin 2021-12-01 23:36:21 +01:00
Matthias
7d577fdeb8
add serializer mixin to check reference field 2021-12-01 23:35:20 +01:00
Matthias
49e7026efd
dont't know how that got here 2021-12-01 22:47:33 +01:00
Matthias
3b5e9d3283
use BigIntegerField for a hugher range ;-) 2021-12-01 22:39:53 +01:00
Matthias
4683672d91
load minified fontawesome css 2021-12-01 22:32:40 +01:00
Matthias
53b57cfa70
laod minified fontawesome js 2021-12-01 22:31:16 +01:00
Matthias
413968a979
load minified js 2021-12-01 22:28:43 +01:00
Matthias
64c01bff82
refactor to use general function 2021-12-01 22:26:43 +01:00
Matthias
95b5eee59d
add new more generalized notification method 2021-12-01 22:25:27 +01:00
Matthias
a73a4255c2
helper to get all inheriting classes 2021-12-01 20:36:15 +01:00
Matthias
88d8acfebd
just use the generic view 2021-12-01 01:42:11 +01:00
Matthias
73c4772808
fix focusout on offset / not panel 2021-11-30 23:52:02 +01:00
Matthias
a653f322b3
show delete button only selective 2021-11-30 23:22:20 +01:00
Oliver
0cb66a45ae
Translations merge (#2395)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-12-01 09:20:11 +11:00
Matthias
cefc4af861
add delete button for notifications 2021-11-30 23:19:58 +01:00
Matthias
679647433a
smaller read button 2021-11-30 22:49:30 +01:00
Oliver
a6fe5e0d80
Merge pull request #2388 from SchrodingersGat/part-details-refactor
Part details refactor
2021-12-01 08:47:29 +11:00
Matthias
194c5c5857
remove logging 2021-11-30 22:36:02 +01:00
Matthias
44d08d77aa
maybe the watcher should be running from the start 2021-11-30 22:35:37 +01:00
Oliver
713549fe6a Handle case where issue_date is not set 2021-12-01 08:14:49 +11:00
Oliver
84115b3a8e Reduce width of thumbnail div 2021-12-01 08:07:09 +11:00
Oliver
a2a436ea69 Column improvements 2021-12-01 08:05:30 +11:00
Matthias
ec7ef6ef1e
reduce needed cyle when idleing 2021-11-30 17:45:56 +01:00
Matthias
cc9107d72a
update docs 2021-11-30 17:35:40 +01:00
Matthias
92c3eaef8f
reduce api calls to really just check every 5 seconds 2021-11-30 17:34:10 +01:00
Matthias
1d123827bc
more doc because more than 3 contributers means we need it 2021-11-30 17:25:15 +01:00
Matthias
5d7a153d87
document arguments 2021-11-30 17:22:31 +01:00
Matthias
a1e0bef70d
code restructure 2021-11-30 17:19:04 +01:00
Matthias
d542314520
better docs 2021-11-30 17:14:23 +01:00
Matthias
d34aa04c7d
refactor
to only have one read state updater js codeblock
2021-11-30 17:11:33 +01:00
Matthias
93f9fe9684
update indicator when table is updated 2021-11-30 17:00:02 +01:00
Matthias
c8efc26f58
docs 2021-11-30 16:57:58 +01:00
Matthias
753199febb
refactor 2021-11-30 16:57:53 +01:00
Matthias
791da9b322
add notification counter to indicator 2021-11-30 16:56:55 +01:00
Matthias
5614fde368
change out icons 2021-11-30 16:55:39 +01:00
Oliver
c01c0b0e25 Refactor company buttons 2021-11-30 21:13:55 +11:00
Oliver
91c8d9fee3 Refactor stock item view 2021-11-30 20:59:37 +11:00
Oliver
e88ea8d157 Refactor supplier part display 2021-11-30 20:53:01 +11:00
Oliver
1ce1710c50 Refactor manufacturer part display 2021-11-30 20:49:52 +11:00
Oliver
defe80e2af Refactor build order display 2021-11-30 20:45:18 +11:00
Oliver
fd02197851 Refactor purchase order page 2021-11-30 20:39:28 +11:00
Oliver
7b43e3e585 Refactor sales order page 2021-11-30 20:33:41 +11:00
Oliver
64abe1e889 Refactoring "company" view 2021-11-30 20:31:05 +11:00
Oliver
440436c70d Refactor display for "part category" 2021-11-30 20:00:26 +11:00
Oliver
3aad2eb13d Refactor title card for "location" view 2021-11-30 19:57:07 +11:00
Oliver
5049f17d0b Save toggle state to session 2021-11-30 19:49:04 +11:00
Oliver
a2d912d374 Bootstrappy collapse 2021-11-30 19:45:37 +11:00
Oliver
b34b3c6d85 Place part details below main part display tab 2021-11-30 19:38:48 +11:00
Oliver
6e9937e0e9 Don't be dull, check for null 2021-11-30 15:24:19 +11:00
Matthias
0cefbe41c8
PEP fix 2021-11-29 23:50:15 +01:00
Matthias
2dbb21f8e7
make creation date none changeable on save 2021-11-29 23:46:41 +01:00
Oliver
bce69b7733 Removes ship_order function 2021-11-30 00:45:40 +11:00
Oliver
6963503d02 Delete old SalesOrderShip view 2021-11-30 00:44:42 +11:00
Oliver
3f9b280e17 Allow shipment numbers to be non-unique for different sales orders
- must be unique for a given sales order
2021-11-30 00:42:30 +11:00
Oliver
f3f3030b37 Adds API endpoint to "ship" a sales order shipment 2021-11-30 00:02:03 +11:00
Oliver
c6b11b5e38 New logic for completing a SalesOrderShipment 2021-11-29 23:11:21 +11:00
Oliver
da6c723184 Merge branch 'master' into partial-shipment
# Conflicts:
#	InvenTree/order/serializers.py
2021-11-29 22:59:36 +11:00
Matthias
d6dc4dd035
Merge branch 'matmair/issue2279' of https://github.com/matmair/InvenTree into matmair/issue2279 2021-11-29 08:42:57 +01:00
Matthias
07b0577b94
enable the notification panel to mark messages as read 2021-11-29 01:49:35 +01:00
Matthias
5bfe891208
add button for unread + refactor 2021-11-29 01:09:36 +01:00
Matthias
d57ebde265
also add a unread endpoint 2021-11-29 01:08:54 +01:00
Matthias
06f6587050
add endpoint + buttons to mark a notification read 2021-11-29 01:08:06 +01:00
Matthias
f9655f5eac
fix base message serializer 2021-11-29 00:17:00 +01:00
Oliver
7b339b35cc Small UI tweaks for "sessions" view 2021-11-29 07:46:37 +11:00
Matthias Mair
b687659ddd
Merge branch 'inventree:master' into matmair/issue2327 2021-11-28 17:26:19 +01:00
Matthias Mair
e34de8204a
Merge branch 'inventree:master' into matmair/issue2279 2021-11-28 17:26:15 +01:00
Matthias Mair
baf19c2021
Merge branch 'inventree:master' into plugin-2037 2021-11-28 17:26:09 +01:00
Matthias Mair
a066f4c940
Merge branch 'inventree:master' into webhooks 2021-11-28 17:25:53 +01:00
Matthias
9454b51866
fix rules 2021-11-28 17:18:46 +01:00
Matthias
2747d0d609
PEP fix 2021-11-28 16:52:19 +01:00
Matthias
ace4370ee9
add ruleset 2021-11-28 16:50:34 +01:00
Matthias
90b3f63851
add ruleset 2021-11-28 16:47:40 +01:00
Oliver
32be39774f PEP fixes 2021-11-28 22:36:47 +11:00
Oliver
78309c1915 Move validation to the model class 2021-11-28 22:29:01 +11:00
Oliver
4ee55847f1 Refactor attachment tables 2021-11-28 14:21:20 +11:00
Oliver
0949bac175 serializer fixes 2021-11-28 14:21:09 +11:00
Oliver
6582fd3d04 Add 'link' field to attachment serializer 2021-11-28 12:57:37 +11:00
Oliver
e9ed7bffc9 adds a "link" field to the InvenTree attachment model
- Allows attachments to also serve as links to external files
2021-11-28 12:53:01 +11:00
Matthias
4125841543
fix margins 2021-11-28 02:44:05 +01:00
Matthias
539910c594
translate mesages 2021-11-28 02:39:57 +01:00
Matthias
d3ea23665b
dynamically load notifications 2021-11-28 02:39:36 +01:00
Matthias
d7bc16209d
refactor 2021-11-28 01:45:40 +01:00
Matthias
5ebf50595e
cleanup 2021-11-28 01:43:27 +01:00
Matthias
a57c634cfd
add item link 2021-11-28 01:33:13 +01:00
Matthias
7d71a04eaa
Add fields to serializer to resolve source / target refs 2021-11-28 01:17:14 +01:00
Matthias
ad7e483d8a
age will not be possible atm 2021-11-28 00:02:05 +01:00
Matthias
68e43d0b90
make creation field permanent 2021-11-27 23:26:08 +01:00
Matthias
6735f83683
make more compact 2021-11-27 23:15:41 +01:00
Matthias
519b5b7012
fix focusing 2021-11-27 23:14:38 +01:00
Matthias
bb1c01635e
fix read flag 2021-11-27 22:40:03 +01:00
Matthias
e01f2e202e
check if notifications are there regularly 2021-11-27 22:39:04 +01:00
Matthias
866674497a
add filtering to list endpoint 2021-11-27 22:02:18 +01:00
Matthias
f2d0b06881
add read to api 2021-11-27 22:02:04 +01:00
Matthias
2c9fc11349
cleaner api url definition 2021-11-27 21:41:49 +01:00
Matthias
c4c43135f1
Add base UI elements 2021-11-27 21:23:56 +01:00
Matthias
a9995087ac
move spacing from id to class 2021-11-27 16:21:17 +01:00
Matthias
dd44eb389f
add a notification message model
part of #2282
2021-11-27 16:02:23 +01:00
Matthias
6b53fd2bd4
Base html
[FR] Notification centre
Fixes #2279
2021-11-27 02:22:39 +01:00
Matthias
84f0966e4f
movelanguage to display settings 2021-11-27 00:02:39 +01:00
Matthias
db1a434f81
[FR] User sessions
Fixes #2327
2021-11-26 23:56:24 +01:00
Oliver
ad6e34953b Update placeholders for serial numbers when creating a new stock item 2021-11-27 00:17:31 +11:00
Oliver
ef7a9b5152 Adds a simple endpoint for accessing serial number information for a Part instance
- This is not included by default in the "part detail" endpoint as it must be calculated!
2021-11-27 00:11:18 +11:00
Oliver
0b997dc784 Display both 'allocated' and 'fulfilled' quantity values in salesorder table 2021-11-26 23:30:34 +11:00
Oliver
8aed68a1d1 Adds "shipped" field to SalesOrderLineItem
- This is an internal tracker of quantity of items shipped
- Updated by the database logic (not by the user)
- Keeps track of how many items have been shipped against a lineitem
- Does not matter if the actual stock items are later removed from the database
2021-11-26 23:20:27 +11:00
Oliver
c943b320e6 shipment table tweaks 2021-11-26 23:02:29 +11:00
Oliver
8eb5e79070
Merge pull request #2368 from SchrodingersGat/responsible-column
Adds "responsible" row to purchase order table
2021-11-26 22:31:39 +11:00
Oliver
d5e7489623 Table filters 2021-11-26 22:31:25 +11:00
Oliver
760c80dbb6 Merge remote-tracking branch 'inventree/master' into partial-shipment 2021-11-26 22:08:17 +11:00
Oliver
ac645b1fc7 Adds "responsible" row to purchase order table 2021-11-26 22:05:27 +11:00
Oliver
d61c22836c
Merge pull request #2367 from SchrodingersGat/exclude-related-tweaks
Exclude same part from "related" input
2021-11-26 21:59:20 +11:00
Oliver
2b704ccdc0 Exclude same part from "related" input 2021-11-26 21:09:29 +11:00
Oliver
268bfda065 Layout tweaks for settings page 2021-11-26 21:02:06 +11:00
Oliver
64d2674c04 Add action menu (hide for now) 2021-11-26 20:38:37 +11:00
Oliver
136fc67675 Adds data toolbar 2021-11-26 11:25:11 +11:00
Oliver
d3b9adc87a Separate "completed shipments" onto its own tab 2021-11-26 10:50:43 +11:00
Oliver
68e2b0850b Merge branch 'master' into partial-shipment
# Conflicts:
#	InvenTree/build/serializers.py
#	InvenTree/order/templates/order/so_sidebar.html
2021-11-26 08:25:51 +11:00
Oliver
0104266281
L10 (#2362)
* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* updated translation base

* Check translation files on l10 branch

* Fix CI checks for migration files

* Another fix?

* environment vars

* L10 merge (#2345)

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* New Crowdin updates (#2051)

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-11-25 21:09:58 +11:00
Oliver
6a948a1a20 javascript linting 2021-11-25 15:14:16 +11:00
Oliver
4a90786296 PEP code style fixes 2021-11-25 14:55:24 +11:00
Oliver
e6dfe27c57 Add a "related parts table" function 2021-11-25 14:54:21 +11:00
Oliver
9e01bc8ff2 Bug fix for serializer detail 2021-11-25 14:45:28 +11:00
Oliver
88df774aef Add part detail filter to PartRelated serializer 2021-11-25 14:42:44 +11:00
Oliver
4704845a7b Add filter for "relatedpart" API endpoint 2021-11-25 14:42:31 +11:00
Oliver
68f7887379 Related parts are now created via the API 2021-11-25 14:23:27 +11:00
Oliver
2065c05519 Adds API endpoints and serializers 2021-11-25 14:18:21 +11:00
Oliver
a532babde8 Related part table now uses "loadPartTable" function call 2021-11-25 14:13:49 +11:00
Oliver
b497569228 Add Part list API filter for "related" status
- Adds "related" filter
- Adds "exclude_related" filter
2021-11-25 14:00:04 +11:00
Oliver
97d4107dcc
Merge pull request #2358 from matmair/matmair/issue2353
[FR] testing language
2021-11-25 13:28:12 +11:00
Oliver
ae6ac2ae24
Merge pull request #2360 from matmair/add-translations
Add some missing parts of the UI to translations
2021-11-25 13:27:50 +11:00
Matthias
7ed5338fe9
add some missing parts of the UI to translations 2021-11-25 01:09:36 +01:00
Matthias
0448744f56
[FR] testing language
Fixes #2353
2021-11-24 23:07:48 +01:00
Oliver
749f5e8f9a
Merge pull request #2357 from SchrodingersGat/auto-fill-supplier
Auto-complete 'manufacturer-part' field for supplier-part form
2021-11-24 13:40:38 +11:00
Oliver
201911be05 Auto-complete 'manufacturer-part' field for supplier-part form 2021-11-24 12:46:49 +11:00
Oliver
a13fe1f572 Adds "stock" column to substitute parts dialog 2021-11-24 12:36:10 +11:00
Oliver
28dc417a9f Add unit testing for 'validated' filter 2021-11-24 10:52:20 +11:00
Oliver
568e606d5b Fix filtering by 'validated' parameter 2021-11-24 10:45:48 +11:00
Oliver
c04ea3e0bb Adds unit test for "validated" filter option on BomItem list 2021-11-24 10:41:19 +11:00
Matthias
8fddf66618
remove unneeded TODO 2021-11-23 23:40:52 +01:00
Matthias
8236c51827
PEP fix 2021-11-23 18:42:41 +01:00
Matthias
6eee332da8
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-23 18:39:51 +01:00
Matthias Mair
565fad30d7
Merge branch 'inventree:master' into webhooks 2021-11-23 18:27:09 +01:00
Oliver
e53e3b4a51
Merge pull request #2350 from matmair/matmair/issue2347
Fix sidebar translation
2021-11-23 12:57:11 +11:00
Matthias
0733d9940f
fix ci files 2021-11-23 00:42:21 +01:00
Matthias
d884e62be1
[FR] Confirm to W293
Fixes #2335
2021-11-23 00:28:23 +01:00
Matthias
d79e9a62b4
fix trans tags 2021-11-22 23:42:29 +01:00
Matthias
2acee580c9
fix template for sidebar_item 2021-11-22 20:42:10 +01:00
Matthias
9556cd594b
fix sidebar_header template -> remove trans 2021-11-22 20:41:31 +01:00
Matthias
c20afad84d
replace sidebar_links 2021-11-22 20:40:01 +01:00
Matthias
72da18719f
fix sidebar header 2021-11-22 20:24:38 +01:00
Matthias
933c420844
fix sidebar translation
Fixes #2347
2021-11-22 20:24:22 +01:00
Matthias
aae0018a72
stop CI failing 2021-11-22 03:02:03 +01:00
Matthias
3050bb0703
higher retry threshold + better logging 2021-11-22 02:46:03 +01:00
Matthias
395573ca5b
do not trigger reload 2021-11-22 01:55:21 +01:00
Matthias
40dafb7fda
PEP fix 2021-11-22 01:36:37 +01:00
Matthias
1efdf16f92
only reload one 2021-11-22 01:30:04 +01:00
Matthias
3920108d83
do not reload whe currently loading 2021-11-22 01:28:36 +01:00
Matthias
d54bbf562b
remove redundant loggin 2021-11-22 01:06:12 +01:00
Matthias
4b98ea27ce
better format 2021-11-22 00:52:51 +01:00
Matthias
c496076505
check if file plugin was disabled 2021-11-22 00:52:42 +01:00
Matthias
38eaca1104
fix path prefixes 2021-11-22 00:48:46 +01:00
Matthias
e5d474fa0b
always set flag 2021-11-22 00:17:35 +01:00
Matthias
adc058c8b4
only reload once - even if forced 2021-11-22 00:17:04 +01:00
Matthias
a1b821bf78
just use the default failing mechanism 2021-11-22 00:16:43 +01:00
Matthias
c3e4a56021
always reset plugin modules on collection 2021-11-22 00:16:09 +01:00
Matthias
8e7c96626f
that statement is quite important 2021-11-21 23:57:45 +01:00
Matthias
f71b40e031
also handle errors on internal plugins 2021-11-21 23:51:36 +01:00
Matthias
2e28bb225f
fix broken integration plugin def 2021-11-21 23:50:54 +01:00
Matthias
87947c582d
always log error 2021-11-21 23:48:33 +01:00
Matthias
7782a22f38
make plugin init safe 2021-11-21 23:46:54 +01:00
Matthias
bd67285314
PEP fixes 2021-11-21 22:11:18 +01:00
Matthias
c828da284c
fix tests to really hit admin actions 2021-11-21 22:04:22 +01:00
Matthias
03e5279ec0
PEP fixes 2021-11-21 20:23:43 +01:00
Matthias
bafbebb634
test plugin save action 2021-11-21 20:22:44 +01:00
Matthias
75a8b88a92
now it should test 2021-11-21 20:14:17 +01:00
Matthias
211a8e27e6
use pluginreg to reload everywhere 2021-11-21 20:13:58 +01:00
Matthias
4e6e87d950
fix test limitition 2021-11-21 19:19:44 +01:00
Matthias
6b7ea10ba2
PEP fix 2021-11-21 19:18:37 +01:00
Matthias
6533457400
always drop out of maintenance on startup 2021-11-21 19:08:01 +01:00
Matthias
59a1047d41
add admin action test 2021-11-21 18:59:43 +01:00
Oliver
32a8d247e2 Fix for BomItem import in admin page 2021-11-21 22:12:58 +11:00
Matthias
ba6a7c0541
check confirm is True 2021-11-21 02:28:01 +01:00
Matthias
6b1c436135
names of plugins must be unique 2021-11-21 02:24:08 +01:00
Matthias
290e91ff79
there are many ways to be broken ... 2021-11-21 02:19:14 +01:00
Matthias
78cd10f3b9
PEP fix 2021-11-21 02:01:31 +01:00
Matthias
046ee7df06
add api test 2021-11-21 01:57:46 +01:00
Matthias
cecee032d7
streamline html templates 2021-11-21 01:21:25 +01:00
Matthias
c0e45d7b4f
remove url check wrapper
will be a seperate PR later
2021-11-21 01:16:12 +01:00
Matthias
e1dd7a17f2
use testing by default 2021-11-21 00:56:00 +01:00
Matthias
be5289ba0f
break on database error 2021-11-21 00:53:04 +01:00
Matthias
170e0e45e3
disable plugin testing by default 2021-11-21 00:04:41 +01:00
Matthias
ad76812622
PEP fix 2021-11-20 23:24:03 +01:00
Matthias
39648e545c
Add testing to detecte loops
Fixes #2308
2021-11-20 23:18:45 +01:00
Matthias
2f739bfbfa
fix test assertation 2021-11-20 21:10:20 +01:00
Matthias
d17af9eae7
PEP fixes 2021-11-20 21:03:51 +01:00
Matthias
65226bad1d
add template tag tests 2021-11-20 20:00:35 +01:00
Matthias
33bc77e138
small docstring changes 2021-11-20 19:46:38 +01:00
Matthias
e7babfbb7c
remove invalid tests 2021-11-20 19:27:53 +01:00
Matthias
7a65520252
move import of integration plugins into registry 2021-11-20 19:25:40 +01:00
Matthias
06e5430948
refactor 2021-11-20 18:40:46 +01:00
Matthias
71f74f9cc4
move globalsettings mixin reg to registry 2021-11-20 18:39:24 +01:00
Matthias
b1fbac925d
move stacks to registry 2021-11-20 18:26:41 +01:00
Matthias
8fbbcb3a8d
better readability 2021-11-20 18:13:33 +01:00
Matthias
5f180b61e9
and another flag moved 2021-11-20 18:11:20 +01:00
Matthias
308348f051
move flags 2021-11-20 18:07:05 +01:00
Matthias
3aa40ce3e9
move settings to registry 2021-11-20 18:01:19 +01:00
Matthias
8ac41970ad
simpler imports 2021-11-20 17:46:50 +01:00
Matthias
e762ec676d
simplify imports 2021-11-20 17:29:06 +01:00
Matthias
8d2ad4da2e
set up cleaner import paths 2021-11-20 17:17:36 +01:00
Matthias
e90b69262a
fix import 2021-11-20 17:12:12 +01:00
Matthias
098116675a
move git stuff to the helpers 2021-11-20 17:03:10 +01:00
Matthias
5f83fd007f
more structure 2021-11-20 17:02:27 +01:00
Matthias
076cca5e62
add TODO for dependency 2021-11-20 16:43:39 +01:00
Matthias
b596e4f164
remove unneeded stuff from broken sample
and optimize for coverage
2021-11-20 16:37:54 +01:00
Matthias
ebe5993a45
refactor registry into own class and file 2021-11-20 16:31:02 +01:00
Matthias
8a2a06955f
small fixes 2021-11-20 15:49:02 +01:00
Matthias
d8963fd5b1
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-20 13:50:13 +01:00
Matthias
67fa4cc119
PEP fix 2021-11-20 13:44:31 +01:00
Matthias
57aefc8100
wrapper to log failing urls 2021-11-20 13:37:16 +01:00
Matthias
e925095503
pack logging into custom error processing 2021-11-20 13:26:37 +01:00
Matthias
008917fdef
refactor custom error raising 2021-11-20 13:20:08 +01:00
Matthias
71e05d569b
refactor plugin error processing definition 2021-11-20 13:14:18 +01:00
Matthias
b05381fcc8
rename / cleanup 2021-11-20 13:00:12 +01:00
Matthias
2f306d951f
refactor url definition into plugin 2021-11-20 12:54:51 +01:00
Matthias
4171fe42d9
docstring 2021-11-20 12:47:34 +01:00
Matthias
e82c93ffae
refactor into own helper function for plugins 2021-11-20 12:39:27 +01:00
Matthias
98b0a2995f
ignore error in borken sampel -> it should not work 2021-11-20 12:29:29 +01:00
Oliver
189db604fa
Merge pull request #2339 from matmair/protected-settings
Protected settings
2021-11-20 19:26:29 +11:00
Oliver
6a6eae7e54 Bug fix for BOM uploading
(cherry picked from commit 2e04b311306259e0ead07de9e08b3ba376caf4e4)
2021-11-20 18:10:51 +11:00
Oliver
f8aa5514ae Fix BOM export for multi-level BOMs 2021-11-20 17:44:54 +11:00
Matthias
f667367a6b
add broken plugin for testing error stack 2021-11-20 04:08:21 +01:00
Matthias
6301f06416
PEP fix 2021-11-20 04:06:15 +01:00
Matthias
12fbd92bad
conditional error stack showing 2021-11-20 04:04:52 +01:00
Matthias
0d44a4cfa5
error retrieving tag 2021-11-20 04:00:34 +01:00
Matthias
9f0882d637
move imports 2021-11-20 03:52:27 +01:00
Matthias
4b3d5b27a6
add more stack logging points 2021-11-20 03:39:47 +01:00
Matthias
9087cabe5f
refactor integration error logging into helper 2021-11-20 03:35:43 +01:00
Matthias
ebe712312c
refactor 2021-11-20 03:31:58 +01:00
Matthias
8bcdad6a8f
make startup more failsafe 2021-11-20 03:29:32 +01:00
Matthias
d36ab0d9cd
some more docs 2021-11-20 03:22:25 +01:00
Matthias
4c7d295c0e
hard reset all plugin registration mechanisms on error 2021-11-20 03:20:55 +01:00
Matthias
3dfb8167a7
refactor 2021-11-20 03:20:14 +01:00
Matthias
e70b9bd28f
more docs 2021-11-20 03:19:41 +01:00
Matthias
be24d141de
reload without integration apps if loading fails 2021-11-20 03:16:03 +01:00
Matthias
e301971159
keep reloading save
- wrap reloading
- throw custom error
- log custom error in loading function
2021-11-20 03:10:47 +01:00
Matthias
0b6e9ef4c9
custom error 2021-11-20 03:05:36 +01:00
Matthias
c57393f457
refactor clean installed apps 2021-11-20 03:05:01 +01:00
Matthias
ad98c1df48
refactor registry cleaning 2021-11-20 03:03:57 +01:00
Matthias
1a6a26204e
make sure protected values are never exposed 2021-11-20 00:24:17 +01:00
Matthias
1798214cd2
add protected settings in model 2021-11-19 23:59:57 +01:00
Matthias
ce71508d8d
remove helper for webhooks 2021-11-19 23:54:42 +01:00
Matthias
87e85c8081
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-19 23:51:02 +01:00
Matthias
eee9047818
[FR] Two-Factor Authentication
Fixes #2201
2021-11-19 23:48:12 +01:00
Matthias
74b3cad566
fix language name
missing closing bracket
2021-11-19 23:41:15 +01:00
Matthias
91bc865887
remove webhook ruleset 2021-11-19 23:19:02 +01:00
Matthias
3fbc6890c9
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-19 22:58:31 +01:00
Oliver
c64c5463c8
Merge pull request #2334 from matmair/allow-no-icon
add default to icon for sidebar item
2021-11-20 08:55:03 +11:00
Matthias
4baf2971da
remove webhook apis 2021-11-19 22:53:22 +01:00
Matthias
d4939e058c
remove admin 2021-11-19 22:52:42 +01:00
Matthias
d57fc5392b
remove model 2021-11-19 22:52:29 +01:00
Matthias
03f343a368
remve tests 2021-11-19 22:50:55 +01:00
Matthias
6563c340dd
remove url 2021-11-19 22:50:42 +01:00
Matthias
f6ff6c3e68
remove webhook migrations 2021-11-19 22:49:24 +01:00
Matthias
e59cf2e636
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-19 22:43:48 +01:00
Matthias
260c51f6fc
Pulls out the webhook dev for partial merge
Fixes #2036
2021-11-19 22:35:28 +01:00
Oliver
6a235c9f15
Merge pull request #2333 from matmair/multiple-admin-btn
allow admin buttons to be assigned by class
2021-11-20 08:27:26 +11:00
Matthias
7dad2b02f0
add default to icon for sidebar item 2021-11-19 22:22:19 +01:00
Matthias
70916bb11f
allow admin buttons to be assigned by class 2021-11-19 21:53:08 +01:00
Matthias
512c73a59e
make diffs for extending middleware cleaner 2021-11-19 21:51:57 +01:00
Oliver
1460c73637 Add es_MX language translation 2021-11-19 07:44:33 +11:00
Matthias
8cab974893
send command as string 2021-11-18 16:38:31 +01:00
Matthias
e5d0380356
PEP fixes
finishes work for #2318
2021-11-18 16:35:16 +01:00
Matthias
d750e9e191
reorder fields 2021-11-18 16:26:31 +01:00
Matthias
a617b8b158
fix spelling 2021-11-18 16:26:07 +01:00
Matthias
0ece82c812
add labels / helptexts to serializer 2021-11-18 16:25:49 +01:00
Matthias
efa2ad542d
add refactor 2021-11-18 16:19:46 +01:00
Matthias
6ab0e68000
remove unneeded imports 2021-11-18 16:18:08 +01:00
Matthias
3af426bdd7
allow empty values -> submition from form 2021-11-18 16:17:47 +01:00
Matthias
37f14f537a
make sure bool for maintenance sate 2021-11-18 16:17:26 +01:00
Matthias
5dbc5d141a
add plugin install button 2021-11-18 16:16:25 +01:00
Oliver
521ec4f1e6 Merge branch 'master' into partial-shipment
# Conflicts:
#	InvenTree/order/serializers.py
2021-11-18 23:43:36 +11:00
Oliver
7399333256
Merge pull request #2328 from SchrodingersGat/stock-item-create-fix
Record the user information when creating or updating a stock item
2021-11-18 23:34:41 +11:00
Oliver
7d80387f3c
Merge pull request #2329 from SchrodingersGat/bom-quantity-fix
Bom quantity fix
2021-11-18 23:24:44 +11:00
Oliver
15a0d260f8 Handle case where user is not specified 2021-11-18 23:15:40 +11:00
Matthias
5aa146127c
PEP fix 2021-11-18 13:13:59 +01:00
Oliver
7ca36a092e convert remaining serializers 2021-11-18 23:01:19 +11:00
Oliver
c3fb6a6861 Convert BOM quantity field to new field class 2021-11-18 22:50:37 +11:00
Matthias
000adb357d
refactor plugin urls into plugin dir 2021-11-18 12:50:22 +01:00
Oliver
1bde26a7be Copy 'help_text' through from the model field if it is not defined for the serializer field 2021-11-18 22:48:22 +11:00
Oliver
35bd6ce927 Adds a new custom serializer field - InvenTreeDecimalField
- Fixes a number of problems with using FloatField
2021-11-18 22:17:58 +11:00
Matthias
a95b298c62
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-18 11:37:11 +01:00
Oliver
bfb32f3bf6 Record the user information when creating or updating a stock item 2021-11-18 21:26:26 +11:00
Oliver
b726df3a5e style fixes 2021-11-18 20:57:44 +11:00
Oliver
6dafedd0f3 Adjust login screen 2021-11-18 20:55:10 +11:00
Oliver
cac77ed134 Hide account edit actions in demo mode 2021-11-18 20:37:08 +11:00
Oliver
2a5b882a25 Navbar updates
- Display "demo mode" with link to docs
- Remove "admin" menu action
2021-11-18 20:34:50 +11:00
Oliver
1f5e4a1e6b Adds a template tag for testing if the server is running in demo mode 2021-11-18 20:17:27 +11:00
Oliver
4aeac79ba5 Remove very old unused file 2021-11-18 20:08:24 +11:00
Oliver
0dd3389518 Read "DEMO_MODE" into settings.py 2021-11-18 19:59:14 +11:00
Matthias
bff4623a15
refactor 2021-11-18 01:48:03 +01:00
Matthias
95fbc27f10
PEP fixes 2021-11-18 01:46:27 +01:00
Matthias
cbcab9498a
override return behaviour 2021-11-18 01:36:37 +01:00
Matthias
392b7a4683
fix vcs check 2021-11-18 01:30:31 +01:00
Matthias
4effd76ca0
spellfix 2021-11-18 01:24:30 +01:00
Matthias
a9fbfaf6af
add installer endpoint 2021-11-18 01:24:14 +01:00
Matthias
e728dc8fdf
add detail endpoint 2021-11-17 23:51:29 +01:00
Matthias
530227e15f
add mixins to API 2021-11-17 23:35:56 +01:00
Matthias
a996be3f5c
always slugify key 2021-11-17 23:21:05 +01:00
Matthias
b0142de421
adding API endpoints for plugins 2021-11-17 23:16:05 +01:00
Matthias Mair
958b47e58b make cols responsive 2021-11-17 19:23:40 +00:00
Matthias Mair
df9d83b3d6 make tables responsive 2021-11-17 19:23:12 +00:00
Oliver
1c8b134ede Add part category link to stock item detail page 2021-11-17 22:29:59 +11:00
Oliver
2d9f7364fd Fix action buttons for "company" page 2021-11-17 21:10:32 +11:00
Oliver
5e04f2acf3 Merge remote-tracking branch 'inventree/master' into partial-shipment 2021-11-17 20:53:26 +11:00
Oliver
9c3b04f771 Adds fallback value if status code color is not defined 2021-11-17 14:09:20 +11:00
Matthias
e97af4c074
Revert "remove unneeded file"
This reverts commit 8af4e81b42.
2021-11-17 02:21:28 +01:00
Matthias
8af4e81b42
remove unneeded file 2021-11-17 02:19:06 +01:00
Matthias
fe96d07c1e
log lookup error 2021-11-17 02:07:29 +01:00
Matthias
4ab464dc9e
refactor for debug if lookups fail 2021-11-17 02:07:13 +01:00
Matthias
0f321b8e83
turns out we needed that 2021-11-17 02:03:03 +01:00
Matthias
e121ad374b
more safer = more better ::inno: 2021-11-17 02:02:47 +01:00
Matthias
4513ad5ab6
and this also 2021-11-17 02:02:23 +01:00
Matthias
6c5dd2a5a4
and safety here too 2021-11-17 01:59:30 +01:00
Matthias
7c9ba1007d
refactor 2021-11-17 01:51:47 +01:00
Matthias
c3ea0f0704
indentations fix 2021-11-17 01:51:13 +01:00
Matthias
3d2648ffb2
make deactivaton safe
even if apps were not loaded rigth
2021-11-17 01:51:05 +01:00
Matthias
8708279629
some more docs 2021-11-17 01:46:22 +01:00
Matthias
a7279ce43e
streamlining 2021-11-17 01:46:12 +01:00
Matthias
b563bbee00
fixes for reloading contrib apps 2021-11-17 01:45:48 +01:00
Matthias
5c74141588
fully unregister app 2021-11-17 01:44:19 +01:00
Oliver
9614963f16 Put function into migration file 2021-11-17 08:58:32 +11:00
Oliver
d217fa4d9f Reduce size of splash screen image 2021-11-16 20:09:38 +11:00
Oliver
db009189ca remove unused function 2021-11-16 20:07:16 +11:00
Oliver
192cfb80b0 Merge remote-tracking branch 'inventree/master' into partial-shipment
# Conflicts:
#	InvenTree/InvenTree/version.py
2021-11-16 17:06:38 +11:00
Matthias
b0f315dcba
add missing migration 2021-11-16 00:41:08 +01:00
Matthias
40cf7869d3
refactor mixin locations 2021-11-16 00:40:49 +01:00
Matthias
2188025a93
refactor meta names 2021-11-16 00:23:23 +01:00
Matthias
53422517ed
PEP fixes 2021-11-16 00:21:14 +01:00
Matthias
65764effbb
add verbose names to model 2021-11-16 00:21:03 +01:00
Matthias
aec6a58cad
add filter to admin 2021-11-16 00:18:06 +01:00
Matthias
f460780e39
reorder list display 2021-11-16 00:17:44 +01:00
Matthias
bc79778639
refactor 2021-11-16 00:14:44 +01:00
Matthias
1794fb8865
check if you the plugins really need to be reloaded 2021-11-16 00:12:58 +01:00
Matthias
3b0a004d6e
update docsstrings 2021-11-16 00:09:38 +01:00
Matthias
35d2259edf
added settings actions 2021-11-16 00:05:53 +01:00
Matthias
e52dd4828a
customize 503 2021-11-15 23:48:49 +01:00
Matthias
b783ec566c
add maintenance mode 2021-11-15 22:07:30 +01:00
Oliver
20941ce00b JS linting 2021-11-16 00:15:18 +11:00
Oliver
5b0a2576f6 additional filters for "used-in" table 2021-11-16 00:04:06 +11:00
Oliver
6367f1a9ed Improve titles in table 2021-11-16 00:00:52 +11:00
Oliver
e36b4458bd PEP fixes 2021-11-15 23:58:34 +11:00
Oliver
ca3c3685fe Tweaks 2021-11-15 23:51:21 +11:00
Oliver
c367fd7941 Fixes multiple issues for "used in" table 2021-11-15 23:51:02 +11:00
Oliver
01da889c46 Add ability to search "partparametertemplate" API by "name" field 2021-11-15 23:31:56 +11:00
Oliver
66032ea77a Indicate that a BOM item is inherited in the "uses" table 2021-11-15 23:14:13 +11:00
Oliver
f3782ae8bc visual improvements for table filter elements 2021-11-15 23:13:58 +11:00
Oliver
d5ebdd035e Search button fix 2021-11-15 23:06:15 +11:00
Oliver
0b487c6111 "used in" table now accommodates "inherited" BOMs 2021-11-15 23:00:05 +11:00
Oliver
00dc7dafe1 Construct "used in" table 2021-11-15 22:39:58 +11:00
Oliver
a9852355c4 Add a unit test 2021-11-15 22:28:09 +11:00
Oliver
1f997d07b6 Update BOM API to allow filtering by "uses" 2021-11-15 22:16:13 +11:00
Matthias
45167fe2f0
PEP fixes 2021-11-15 07:47:52 +01:00
Matthias
7129a35900
add todo regarding reload safety 2021-11-15 02:20:37 +01:00
Matthias
35e211e330
this was for finding a testing error 2021-11-15 02:11:28 +01:00
Matthias
84ea56a8f2
docstrings should be manadtory 2021-11-15 02:11:12 +01:00
Matthias
dbfe0d39ea
this is simpler to read 2021-11-15 02:10:57 +01:00
Matthias
1aafec7107
PEP fixes 2021-11-15 02:10:43 +01:00
Matthias
c41f16837d
remove blocking condition 2021-11-15 02:06:38 +01:00
Matthias
81335ee1d5
clear url caches 2021-11-15 02:05:57 +01:00
Matthias
87edbf7c33
unresgister models when deactivating 2021-11-15 01:01:55 +01:00
Matthias
65ff226b90
remove debug messages 2021-11-15 01:01:01 +01:00
Oliver
dad097a3ba Merge remote-tracking branch 'inventree/master' into partial-shipment 2021-11-15 10:55:17 +11:00
Matthias
d2a34b83c6
clear settings reliably 2021-11-15 00:21:47 +01:00
Matthias
84a675ae39
update urls too 2021-11-15 00:10:05 +01:00
Matthias
5b04f812a9
refactor 2021-11-15 00:04:56 +01:00
Matthias
47bb9466b7
fix initial startup phase 2021-11-14 23:49:00 +01:00
Matthias
eb02a85154
fix indentation 2021-11-14 23:09:42 +01:00
Matthias
9ecf9603d6
load django internal reloading mechanisms 2021-11-14 23:08:28 +01:00
Matthias
f13507e23c
refactor 2021-11-14 22:16:45 +01:00
Matthias
fd5939d233
simplify function 2021-11-14 22:14:50 +01:00
Matthias
6922e24237
refactor and doc 2021-11-14 22:08:57 +01:00
Matthias
d586d6225c
more struc 2021-11-14 22:02:14 +01:00
Matthias
c059583b08
add live reloading 2021-11-14 22:01:00 +01:00
Matthias
e3d334f467
remove debug message 2021-11-14 02:45:59 +01:00
Matthias
8faed72278
make db setting fetching safe 2021-11-14 02:03:56 +01:00
Matthias
4abb23963a
log if db not loaded 2021-11-14 01:59:47 +01:00
Matthias
01cf848fbb
fix wrong set settings 2021-11-14 01:53:35 +01:00
Matthias
4ac5895822
compare ordered 2021-11-14 01:33:07 +01:00
Matthias
990ad95c13
fix global settings test 2021-11-14 01:32:44 +01:00
Matthias
013e8ab3bd
disable IntegrationPlugin loading from setup hook in testing 2021-11-14 01:12:23 +01:00
Matthias
1391df7236
fix test for global settings 2021-11-14 00:49:00 +01:00
Matthias
4e90f79525
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-14 00:24:47 +01:00
Matthias
b10492f088
rename global settings objects 2021-11-14 00:24:32 +01:00
Matthias
11c3ac8bf8
make id fields in plugins read_only
Fixes #2305
2021-11-13 23:40:14 +01:00
Oliver
29ba9d06a3 Adds language support for portugese 2021-11-13 22:47:15 +11:00
Matthias
b79f0052a4
assert that plugin testing is enabled 2021-11-13 02:02:01 +01:00
Matthias
ff3d9e373c
change order back 2021-11-13 02:00:59 +01:00
Matthias
cebd729fac
PEP fix 2021-11-13 01:43:07 +01:00
Matthias
357f63180f
add settings url 2021-11-13 01:40:05 +01:00
Matthias
c850269bd7
log testing state 2021-11-13 01:39:41 +01:00
Matthias
2638ef046d
own flag to enable plugin testing 2021-11-13 01:39:22 +01:00
Matthias
860c56e4ca
remove helper 2021-11-13 01:36:31 +01:00
Matthias
9d3aab58d7
fix loading dir 2021-11-13 01:29:17 +01:00
Matthias
28af5dc128
add regions for easier code nav 2021-11-13 01:26:26 +01:00
Matthias
367c37bbaf
remove setup helper as it is not needed anymore 2021-11-13 01:25:41 +01:00
Matthias
5272b56d04
activate plugins if testing 2021-11-13 01:15:20 +01:00
Matthias
6015de1cd9
fix assertion inp 2021-11-13 01:10:00 +01:00
Matthias
6d47364e06
fix list equal 2021-11-13 00:52:10 +01:00
Matthias
ea277c2ad6
fix url 2021-11-13 00:45:10 +01:00
Matthias
ab2d758a38
save db reference 2021-11-13 00:37:36 +01:00
Matthias
7e478c332a
enable multiple admin buttons on one page 2021-11-13 00:37:18 +01:00
Matthias
8c82d2f900
fix test 2021-11-13 00:02:47 +01:00
Matthias
938f8bab2d
activate plugins before testing 2021-11-12 17:44:35 +01:00
Matthias
c612cfcfba
mark restart required in the settings 2021-11-12 08:03:25 +01:00
Matthias
e542a8f8e3
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-12 07:51:25 +01:00
Oliver
1deb0f2c1b
Merge pull request #2296 from SchrodingersGat/requires-restart
Requires restart
2021-11-12 16:02:31 +11:00
Oliver
a470181ac6 Style fixes 2021-11-12 15:42:53 +11:00
Matthias
da7dd0a4ac
PEP fix 2021-11-12 02:39:06 +01:00
Matthias
9ae8474ed9
fix test 2021-11-12 02:34:18 +01:00
Matthias
aa0237723a
refactor a bit more 2021-11-12 02:32:17 +01:00
Matthias
0e6f203660
refactor plugin loading 2021-11-12 02:26:10 +01:00
Matthias
175b6ca053
admin buttons for plugins 2021-11-12 02:14:49 +01:00
Matthias
6e34119f85
nicer model name 2021-11-12 02:05:41 +01:00
Matthias
6de0a211f7
catch if db not migrated 2021-11-12 02:04:52 +01:00
Matthias
55b4ba6207
show inactive plugins in ui 2021-11-12 01:54:35 +01:00
Matthias
b706ed2312
keep inactive plugins 2021-11-12 01:54:03 +01:00
Oliver
1a994a47ea
Merge pull request #2297 from eeintech/bs5_dark_reader
Updated Dark Reader CSS for BS5
2021-11-12 11:26:15 +11:00
Matthias
4dc1ae4f5f
log stages 2021-11-12 01:22:35 +01:00
Matthias
36c0fad8e1
check if plugin is enabled 2021-11-12 01:12:13 +01:00
Matthias
8ef7a813ec
refactor to plugin app config 2021-11-12 01:07:18 +01:00
Matthias
685d3df6d1
Enable / Disable Plugins
Fixes #2292
2021-11-12 00:46:47 +01:00
Matthias
ae5031e997
refactor internal names 2021-11-12 00:13:12 +01:00
Matthias
61f6061edf
adding in license meta 2021-11-12 00:12:03 +01:00
Matthias
b2478b418a
"description" field for plugin
Fixes #2293
2021-11-12 00:09:05 +01:00
Matthias
65046df417
display path in plugin details
Fixes #2294
2021-11-12 00:00:43 +01:00
Matthias
1535fc0565
refactor is_package 2021-11-11 23:55:34 +01:00
Matthias
689b414d62
show info if no version exists
Fixes #2295
2021-11-11 23:32:22 +01:00
Matthias
3be21c59ec
remove default listing without a key 2021-11-11 23:07:46 +01:00
Matthias
5bb3a95699
Fix theme selector
Fixes #2298
2021-11-11 23:04:16 +01:00
Matthias
1ff9edf490
move theme selection
#2299
2021-11-11 15:54:57 +01:00
eeintech
a810708336 Updated Dark Reader color theme CSS after Bootstrap 5 port 2021-11-11 08:02:12 -05:00
Matthias
99f65d242e
fix test path 2021-11-11 13:25:07 +01:00
Matthias
796b2a059d
move tempalte tags to plugin 2021-11-11 13:10:12 +01:00
Matthias
fa36bcdbca
'safe' loading of links 2021-11-11 13:00:20 +01:00
Oliver
03aa9bc9b0 Tweaks for settings admin views 2021-11-11 22:39:31 +11:00
Matthias
36591a5f6e
fix link 2021-11-11 12:33:11 +01:00
Oliver
d4db750d2f Clear the SERVER_RESTART_REQUIRED flag automatically when the server reloads 2021-11-11 22:26:46 +11:00
Oliver
cacc272424 Display a wanring message if server restart is required 2021-11-11 22:22:39 +11:00
Matthias
112e04381e
fix badges 2021-11-11 12:20:22 +01:00
Matthias
ab1742da64
remove reduntant block 2021-11-11 12:19:11 +01:00
Matthias
b4faaa7a46
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-11 12:18:13 +01:00
Oliver
626637a06a Add "hidden" property to global settings
- Allows certain settings to be hidden from the javascript files
2021-11-11 22:16:46 +11:00
Oliver
2f3772f3bf define "requires_restart" function for global setting 2021-11-11 22:16:28 +11:00
Oliver
b17d6f932a
Merge pull request #2165 from nwns/feature/redisascache
Add support for using Redis as a cache and a broker
2021-11-11 17:08:41 +11:00
Oliver
d5cf2b08ac Merge remote-tracking branch 'inventree/master' into partial-shipment
# Conflicts:
#	InvenTree/InvenTree/version.py
#	InvenTree/order/models.py
2021-11-11 12:35:59 +11:00
Oliver
9a017d950e
Merge pull request #2288 from matmair/matmair/issue2278
Add setting for enabeling reports
2021-11-11 11:23:32 +11:00
Matthias
fcc94b3902
remove empty breadcrumb space in settings 2021-11-11 00:28:30 +01:00
Matthias
bae28e8207
Add setting for enabeling reports
Fixes #2278
2021-11-10 23:54:54 +01:00
Matthias
f9c004bd36
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-10 23:20:39 +01:00
Oliver
4a26f274af fixing silly bug I introduced 2021-11-10 14:00:30 +11:00
Oliver
1bb51a7309 Normalize "available stock" quantity before exporting 2021-11-10 13:27:59 +11:00
Oliver
ae7cde7547
Merge pull request #2281 from SchrodingersGat/stock-sort
Adds "stock" column sorting for stock table
2021-11-10 12:20:07 +11:00
Oliver
986a13864a Exclude 'serial_int' when exporting stock data 2021-11-10 11:37:30 +11:00
Oliver
919f182c25 Remove debug messages 2021-11-10 11:30:11 +11:00
Oliver
ba11a73f91 Fix for saving stock item objects 2021-11-10 11:22:58 +11:00
Oliver
bd81eba380 PEP style fixes 2021-11-10 11:13:30 +11:00
Oliver
6a534e0322 Improve options for installing a part into another part
- Allow "variant" parts when the BOM specifies that variants are allowed for a particular BOM item
2021-11-10 11:11:52 +11:00
Oliver
067f12d5eb PEP fixes 2021-11-10 11:01:12 +11:00
Oliver
25ce043337 Adjust ordering sequence for StockItem 2021-11-10 11:00:43 +11:00
Oliver
738ba4eddf Data migration to initially update serial number fields for all stock items
- Also automatically updates serial_int field when saving StockItem
2021-11-10 10:59:48 +11:00
Oliver
257be18d79 Add 'serial_int' field to stockitem model
- Allows for integer sorting of stock items
2021-11-10 10:47:17 +11:00
Matthias
d982bfe201
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-10 00:37:49 +01:00
Matthias
2835022330
merge 2021-11-10 00:30:21 +01:00
Oliver
85b906f49d Adds "stock" column sorting for stock table 2021-11-10 09:48:52 +11:00
Oliver
ab32ab0b3b
Merge pull request #2277 from SchrodingersGat/multi-report-fix
Fix for printing multiple reports at once
2021-11-10 09:26:55 +11:00
Oliver
56bf0f0487 Fix for printing multiple reports at once
(bug introduced in 79434bb)
2021-11-10 09:03:15 +11:00
Oliver
3dae0c9c1c Remove old unit test code 2021-11-10 08:48:51 +11:00
Oliver
cfb873bb4f Bug fix for loading part table without enabling grid view 2021-11-09 22:47:19 +11:00
Oliver
db31bf91e6 Improve display of "no response from server" message 2021-11-09 22:41:54 +11:00
Oliver
e303b5a39b Catch for null value for settings choices 2021-11-09 22:37:50 +11:00
Oliver
8d7b73e2a8 Adds support for "multiple choice" field 2021-11-09 22:25:42 +11:00
Oliver
721d10a9ec Allow empty URLs 2021-11-09 22:14:26 +11:00
Oliver
1e80e33634 typo fix 2021-11-09 21:49:14 +11:00
Oliver
11dd187df2 javascript linting 2021-11-09 21:43:47 +11:00
Oliver
7dce9f3f3b PEP fixes 2021-11-09 21:37:54 +11:00
Oliver
476d2545ad Remove old server-side view 2021-11-09 21:33:32 +11:00
Oliver
eb5b810be0 Update displayed setting when API returns success 2021-11-09 21:29:31 +11:00
Oliver
5df4374607 javascript for editing settings via API 2021-11-09 21:16:37 +11:00
Oliver
324335a620 Convert to "native value" in the serializer 2021-11-09 17:43:36 +11:00
Oliver
4433befbdc Add list of 'choices' (read only) to serializer
- Check that the specified value is one of the valid options (if provided)
2021-11-09 17:21:59 +11:00
Oliver
07851f0b2c Include 'setting type' in API data 2021-11-09 17:07:41 +11:00
Oliver
0374c27d7c Adds "detail" view for user setting
- Users can only view / edit their own settings
2021-11-09 16:14:10 +11:00
Oliver
f3b4f7aa28 Add "detail" view for global settings objects
- Can view and edit (but not delete)
- User must have "staff" status to access
2021-11-09 16:07:25 +11:00
Oliver
cb583eb466 Add LIST endpoint for global settngs and user settings
- Read only, cannot create new settings
- User settings filters against the user making the request
2021-11-09 15:59:09 +11:00
Oliver
30684685f9 Add unit test to check an "empty" (null) barcode can be supplied 2021-11-09 12:07:57 +11:00
Oliver
1520c296dd
Merge pull request #2270 from SchrodingersGat/navbar-fix
Fixes navbar menu positioning for smaller screens
2021-11-08 17:44:21 +11:00
Oliver
f1eaeef949 PEP fixes 2021-11-08 16:53:43 +11:00
Oliver
ca0619a482 Adds API filtering for the "user" list 2021-11-08 16:53:15 +11:00
Oliver
3d553cf7de Adds search capability to "owner" API
- Currently a bit of a hack, but it works...
2021-11-08 16:49:15 +11:00
Oliver
cb075ed2c2 Fix logic for converting stock items to applicable variants 2021-11-08 15:10:41 +11:00
Oliver
64f5007d3a Fix missing actions for stock item
(cherry picked from commit c128438ebf)
2021-11-08 14:50:03 +11:00
Oliver
35cfa387d1 Fixes navbar menu positioning for smaller screens 2021-11-08 13:38:03 +11:00
Oliver
b2ae346343 Provide model-level default function option 2021-11-08 13:30:59 +11:00
Oliver
8d5c3ab18a add extra icons for build order form 2021-11-08 13:10:33 +11:00
Oliver
9c2193a4cc
Merge pull request #2265 from matmair/matmair/issue2257
Matmair/issue2257
2021-11-08 11:10:53 +11:00
Oliver
a12baadc09
Merge pull request #2266 from SchrodingersGat/login-tweaks
Login tweaks
2021-11-08 10:19:23 +11:00
Oliver
ac97edd18b JS linting 2021-11-08 09:58:55 +11:00
Oliver
c9924470ad Replace dialog messages with alerts 2021-11-08 09:44:45 +11:00
Oliver
ef75838ab8 Properly display notifications when logging in 2021-11-08 09:34:57 +11:00
Oliver
079c08ef7d Tweaks to account screens css 2021-11-08 09:34:42 +11:00
Matthias Mair
87539c7aac select for languages should be wide enough 2021-11-06 20:59:02 +00:00
Matthias Mair
30aa072537 fix message 2021-11-06 20:49:09 +00:00
Matthias Mair
45b7bc0c51 always show the current language 2021-11-06 20:41:52 +00:00
Matthias Mair
dccc832779 fix logic 2021-11-06 20:41:29 +00:00
Matthias Mair
cea466973a Check if language has enough translations
Fixes #2257
2021-11-06 19:55:02 +00:00
Matthias Mair
857cdd5aea Enlsigh is the base - always translated!
Fixes #2257
2021-11-06 17:41:11 +00:00
Matthias Mair
bbd723a176 fix QR code alingment 2021-11-06 15:11:31 +00:00
Matthias Mair
ad5ba96278 move toggler to the end 2021-11-06 15:07:01 +00:00
Matthias Mair
19a3568511 fix nav arranging on mobile 2021-11-06 15:02:40 +00:00
Matthias Mair
d604b2afff make padding uniform 2021-11-06 14:44:46 +00:00
Matthias Mair
5550c89b9a make padding uniform 2021-11-06 14:44:31 +00:00
Oliver
42155b2e05 Adds a fancy shadow 2021-11-05 13:51:26 +11:00
Oliver
174100ed6d
Merge pull request #2260 from SchrodingersGat/sales-order-reference-fix
Check if customer exists when rendering sales order template
2021-11-05 11:23:13 +11:00
Oliver
1743111613 Check if customer exists when rendering sales order template
Fixes https://github.com/inventree/InvenTree/issues/1742
2021-11-05 11:03:38 +11:00
Oliver
f970255066
Merge pull request #2259 from SchrodingersGat/dialog-escapes
Allow escape key on barcode modal
2021-11-05 10:58:57 +11:00
Oliver
1f1cf9f9e4 Allow escape key on barcode modal 2021-11-05 10:39:03 +11:00
Oliver
bf4de526ac Typo fix 2021-11-05 10:20:47 +11:00
Matthias
df72cb2608
merge upstream 2021-11-04 23:44:41 +01:00
Matthias Mair
f5fa64d9a9
Merge branch 'inventree:master' into plugin-2037 2021-11-04 23:42:07 +01:00
Oliver
083967b156
Merge pull request #2198 from SchrodingersGat/stock-item-forms
Stock item forms
2021-11-05 07:37:33 +11:00
Matthias
f49800d5b8
make attr - test safer 2021-11-04 14:54:15 +01:00
Oliver
185924e1f8 More linting 2021-11-05 00:35:47 +11:00
Oliver
5a0ff4c077 JS linting 2021-11-05 00:32:11 +11:00
Oliver
78ac40083a Fixes for stock api unit tests
- Remove old unit tests
- Require quantity when creating a new stock item
2021-11-05 00:27:26 +11:00
Matthias
0daba629fe
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-04 14:23:17 +01:00
Matthias
2992dfdfed
remove Shopify 2021-11-04 14:21:17 +01:00
Oliver
f27acde934 More fixes
- Allow stock item creation for inactive parts
- Better handling of successful stock item creation
- Disable fields rather than hiding them
2021-11-05 00:02:55 +11:00
Matthias
80414ba6b5
make icon optional 2021-11-04 13:44:25 +01:00
Matthias
267c5ca40c
show install method for plugin 2021-11-04 13:30:40 +01:00
Matthias
99c3bc5529
make package info conditional 2021-11-04 13:21:02 +01:00
Matthias
41954fd2d6
make naming less git related 2021-11-04 13:19:08 +01:00
Oliver
b41dbba2b0 Correctly handle serialization of newly created stock 2021-11-04 23:18:59 +11:00
Oliver
3be4acf3ef More refactoring for notifications
- Adds default behaviour for successful stock item creation
2021-11-04 23:09:49 +11:00
Matthias
2fc8efbfb2
simplify syntax 2021-11-04 13:08:30 +01:00
Matthias
285e6fe93e
prepare fnc for loading metadata 2021-11-04 13:07:35 +01:00
Matthias
dd61714435
refactor 2021-11-04 13:04:02 +01:00
Matthias
c085a86891
naming refactor 2021-11-04 12:55:39 +01:00
Matthias
cb30188623
fix commit references 2021-11-04 12:49:19 +01:00
Oliver
97326d9fb2 Display stock item owner (if applicable) 2021-11-04 22:45:11 +11:00
Matthias
e654ba786f
decide where transit info is loaded from based on install method 2021-11-04 12:43:27 +01:00
Matthias
50e5bfc4a4
flag if plugin was packaged 2021-11-04 12:42:22 +01:00
Oliver
b65f950864 Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-04 22:40:09 +11:00
Oliver
71bb6fff50 Add option to hide inactive parts in search preview window 2021-11-04 22:25:35 +11:00
Matthias
e12e93f19e
merge migrations 2021-11-04 10:27:40 +01:00
Matthias
b54f9c9c13
provide backport for 3.7 2021-11-04 10:24:05 +01:00