Commit Graph

12264 Commits

Author SHA1 Message Date
Oliver
c31bbe5c42
Merge pull request #2809 from SchrodingersGat/fix-inactive-search
Bug fix for "inverted" logic in search results
2022-04-06 12:46:18 +10:00
Oliver
24c64d7479 Bug fix for "inverted" logic when hiding inactive parts from search results 2022-04-06 12:21:19 +10:00
Oliver
b78407a7e8
Merge pull request #2808 from SchrodingersGat/cancel-requests
Fix search errors
2022-04-06 10:38:03 +10:00
Oliver
27dac5af97 Fix search errors
- Do not show API error messages for requests which were intentionally aborted
- Prevents a large number of error messages being displayed when search text is changed
2022-04-06 09:42:07 +10:00
Oliver
ac721a544d
Merge pull request #2803 from SchrodingersGat/barcode-fix
Barcode scanning fixes
2022-04-06 09:27:42 +10:00
Oliver
0ff754c7d9
Merge pull request #2804 from SchrodingersGat/quantity-fixes
Quantity fixes
2022-04-05 08:20:18 +10:00
Oliver Walters
c93f9c94f3 Change column title 2022-04-05 00:33:54 +10:00
Oliver Walters
0908aa8c8c Allow sorting of part table by unallocated_stock 2022-04-05 00:31:44 +10:00
Oliver Walters
58003bc2cb Refactor model renderer functions 2022-04-05 00:27:37 +10:00
Oliver Walters
15253435af Adjustments for partStockLabel function 2022-04-05 00:02:11 +10:00
Oliver
782a0f3576 Fix for scanIntoLocation function 2022-04-04 16:23:17 +10:00
Oliver
7dae05acc5 Fix for scanItemsIntoLocation function
- Accept list of objects rather than pk values
- Conform to API requirements
2022-04-04 16:20:19 +10:00
Oliver
2c8e274aa9 Tweaks for barcode scanning functionality
- Prevent javascript errors

(cherry picked from commit 9129a42a3e2a5c5939e6002d3b4010b3fd9cc20e)
2022-04-04 14:24:28 +10:00
Oliver
d1a8b7ed48
Merge pull request #2801 from rkalman/feat-use-unallocated-quantites
Use new unallocated_stock quantity in the part table and in the search results
2022-04-03 23:23:02 +10:00
Kálmán Rózsahegyi
ade5a81a1a Enhance partStockLabel with ordering/building quantites 2022-04-03 12:36:46 +02:00
Kálmán Rózsahegyi
bc4b66e7d3 Render partStockLabel based on available/in stock quantites 2022-04-03 12:36:37 +02:00
Kálmán Rózsahegyi
d912846e41 Use available quantities in part table, enhance stock badge 2022-04-03 12:35:59 +02:00
Kálmán Rózsahegyi
a9f7457c12 New part table filter on available stock 2022-04-03 12:30:53 +02:00
Oliver
d1d7db76cc
Merge pull request #2797 from SchrodingersGat/available_stock
Available stock
2022-04-02 13:52:34 +11:00
Oliver Walters
271cb3f8b1 Rebuild tree structure before running unit tests! 2022-04-02 13:26:39 +11:00
Oliver Walters
fb0b87db3d Further unit test fixes 2022-04-02 12:00:08 +11:00
Oliver Walters
0ab2ff306c Fix incorrect value for "available stock" 2022-04-02 11:13:43 +11:00
Oliver Walters
4593b0f412 Unit test fixes 2022-04-02 11:12:54 +11:00
Oliver Walters
484a0693d7 Check that the sales_order_allocations information is provided in the API endpoint 2022-04-02 10:25:38 +11:00
Oliver Walters
57be4b337d Check that new annotated fields exist in the API dataset 2022-04-02 09:55:37 +11:00
Oliver Walters
f9a0bf822e Add more fixture data
- Stock items for part 100 (Bob)
2022-04-02 09:54:55 +11:00
Oliver Walters
9ad260e8e0 Bump API version 2022-04-01 17:46:15 +11:00
Oliver Walters
bf6a9b69ce Annotate with "unallocated_stock" quantity (calculated field) 2022-04-01 17:44:05 +11:00
Oliver
73dd0ff8a8
Merge pull request #2793 from rkalman/translation-fixes
Fix translation on delete_build form
2022-04-01 17:32:58 +11:00
Oliver Walters
94068f6bad Adds annotation for build order allocation count 2022-04-01 17:31:01 +11:00
Oliver Walters
4e100643f5 Add annotation for "allocated_to_sales_orders" 2022-04-01 17:24:15 +11:00
Kálmán Rózsahegyi
6bd5e652ee Fix translation on delete_build form 2022-03-31 15:23:26 +02:00
Oliver
6eab3dbf09
Translation merge (#2792)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-30 15:47:45 +11:00
Oliver
e5a7ee0afd
Merge pull request #2783 from SchrodingersGat/search-megamenu
Search megamenu
2022-03-30 13:36:58 +11:00
Oliver Walters
4c6ad6facf Other changes as requested 2022-03-30 12:42:57 +11:00
Oliver Walters
a45e2c0199 Padding adjustments 2022-03-30 08:18:25 +11:00
Oliver Walters
b0ed9930dd Unit test fix 2022-03-30 00:16:43 +11:00
Oliver Walters
ba7035d7b6 JS litning fixes 2022-03-29 23:52:37 +11:00
Oliver Walters
016d802a10 Fixes for input autofocus, etc 2022-03-29 23:49:06 +11:00
Oliver Walters
f724f4a845 Add search preview for purchase orders and sales orders 2022-03-29 23:38:01 +11:00
Oliver Walters
2a604c244e Add search results for "company" 2022-03-29 23:29:17 +11:00
Oliver Walters
1f003b3f54 Add results for part categories and stock locations 2022-03-29 23:27:44 +11:00
Oliver Walters
a551bf1e81 Add options to control what is shown in search preview window 2022-03-29 23:27:25 +11:00
Oliver Walters
4bb95de4f9 Re-add button to submit "search" form and show full results 2022-03-29 23:19:23 +11:00
Oliver Walters
cc1501283d Refactoring 2022-03-29 22:59:23 +11:00
Oliver Walters
f1876ae28b Add a "searching..." indicator to show progress 2022-03-29 22:48:54 +11:00
Oliver Walters
11a6052871 remove the old search bar 2022-03-29 22:46:00 +11:00
Oliver Walters
22ee6614cc Render links for search results 2022-03-29 22:40:47 +11:00
Oliver Walters
78e5a685dc Display results for parts and stock items
- Use the existing rendering functions
2022-03-29 22:35:47 +11:00
Oliver Walters
51d26b1d16 Skeleton for displaying search results 2022-03-29 20:49:23 +11:00