Commit Graph

6267 Commits

Author SHA1 Message Date
Oliver
c45e2d682e
Merge pull request #1782 from SchrodingersGat/company-rendering
Improve rendering of "Company" in API form
2021-07-09 12:31:31 +10:00
Oliver
7539bd47fe Fix rendering issues 2021-07-09 12:10:27 +10:00
Oliver
6a995042c9 Fix bug relating no PurchaseOrderLineItem with null Part reference 2021-07-09 12:10:17 +10:00
Oliver
4b6ca548b6 Improve form rendering for SupplierPart 2021-07-09 12:09:57 +10:00
Oliver
40ac1f39e0 Improve rendering of "Company" in API form
- Add a thumbnail image
- Refactor select2 thumbnail code

(cherry picked from commit 2df7c520be)
2021-07-09 11:14:38 +10:00
Oliver
19ba9bf93c
Merge pull request #1780 from SchrodingersGat/IPN_case
Fix case for filtering parts by IPN
2021-07-09 09:26:48 +10:00
Oliver
0c73fa3b58 Add regex filter for part name 2021-07-09 09:11:31 +10:00
Oliver
fd5d20ad13 Fix case for filtering parts by IPN 2021-07-09 09:08:55 +10:00
Oliver
433098ce6e
Merge pull request #1778 from SchrodingersGat/build-forms
Refactor BuildOrderEdit form
2021-07-09 09:02:39 +10:00
Oliver
0a86d947bc Refactor PartParameterCreate form 2021-07-09 02:03:33 +10:00
Oliver
cbf0e0bd4a Refactor forms for editing and deleting a PartParameter
- PartParameters now loaded using the API, not pre-rendered
2021-07-09 01:56:04 +10:00
Oliver
cbd291849c More unit test fixes 2021-07-09 01:49:17 +10:00
Oliver
6e26bd0b71 Fixes for unit tests 2021-07-09 01:29:17 +10:00
Oliver
337223b8eb Modal form improvements 2021-07-09 01:20:40 +10:00
Oliver
ecf47aa69d Fix for BuildOrder reference default value 2021-07-09 01:20:29 +10:00
Oliver
60e8a17f07 bug fix: Prevent API forms from being submitted multiple times
- A problem if you're a manic clicker
2021-07-09 01:06:38 +10:00
Oliver
9947a0cf90 PEP fix 2021-07-09 00:59:56 +10:00
Oliver
7e7fe7d63f Refactor buildlist filtering 2021-07-09 00:58:17 +10:00
Oliver
bec98d355a Improvements
- part_detail defaults to True for BuildSerializer
- Handle invalid parent for BuildOrder
2021-07-09 00:49:19 +10:00
Oliver
be6ecd9587 Fixes for BuildOrder forms 2021-07-09 00:36:54 +10:00
Oliver
13ca076f42 Fix for form rendering of "required" fields with a default value
- Force the "required" parameter to be set
2021-07-09 00:29:36 +10:00
Oliver
004b36b1df Refactor BuildOrderCreate form 2021-07-09 00:18:03 +10:00
Oliver
5016d44b83 Add default value for BuildOrder reference 2021-07-09 00:15:49 +10:00
Oliver
245c04367b Refactor BuildOrderEdit form 2021-07-08 23:57:42 +10:00
Oliver
522432f4aa
Merge pull request #1776 from SchrodingersGat/part-labels
Part labels
2021-07-08 23:34:59 +10:00
Oliver
bd4dde2cb7 Add permissions for PartLabel model 2021-07-08 23:22:25 +10:00
Oliver
15cb1e0005 Print part labels 2021-07-08 22:54:41 +10:00
Oliver
c39f705ef7 Copy default part label templates 2021-07-08 22:42:31 +10:00
Oliver
1830467487 Add admin / serializer / API for PartLabel model 2021-07-08 22:10:10 +10:00
Oliver
a1a4bddcc6 Add model for PartLabel 2021-07-08 21:07:45 +10:00
Oliver
0599fbaf26
Merge pull request #1773 from SchrodingersGat/ipn-filtering
API Filtering improvements
2021-07-08 20:47:07 +10:00
Oliver
a985e11aa8 Simplify and add filters for StockList API endpoint 2021-07-08 20:10:22 +10:00
Oliver
c7f79a5a08 Fixes 2021-07-08 19:23:01 +10:00
Oliver
79d90b1c4a Additional filtering options for name and IPN fields 2021-07-08 17:46:57 +10:00
Oliver
f0e7826fdc Adds some more API filters for the StockItem endpoint 2021-07-08 17:44:52 +10:00
Oliver
81010994e7 Adds regex filtering for "batch" code on StockItem 2021-07-08 17:26:55 +10:00
Oliver
a8a21f7c9d Transition "has IPN" filter to django-filters approach 2021-07-08 17:16:02 +10:00
Oliver
ba0a13443f PEP fixes 2021-07-08 17:02:55 +10:00
Oliver
376428b80b Add regex IPN filter for Part API 2021-07-08 17:02:45 +10:00
Oliver
800cb9606a
Merge pull request #1772 from SchrodingersGat/part-stock-part-column
Reintroduces "part" column to part stock
2021-07-08 15:27:59 +10:00
Oliver
2467690111 Reintroduces "part" column to part stock 2021-07-08 13:46:53 +10:00
Oliver
a2870b60d9
Merge pull request #1757 from matmair/stock-next-prev
Stock previous / next serial
2021-07-08 11:41:01 +10:00
Oliver
f1797dbe2f
Merge pull request #1771 from SchrodingersGat/company-part-search-fix
API: Allow search of IPN field for ManufacturerPart and SupplierPart
2021-07-08 11:30:58 +10:00
Oliver
ae68463f46 API: Allow search of IPN field for ManufacturerPart and SupplierPart 2021-07-08 11:16:04 +10:00
Oliver
309097293f
Merge pull request #1768 from SchrodingersGat/attachment-fixes
Fixes for attachment issues
2021-07-08 11:12:34 +10:00
Oliver
fcc244b52f Fixes for BuildOrder attachment API list 2021-07-08 10:50:34 +10:00
Oliver
1deab0c040 Fix for SalesOrder attachment table 2021-07-08 10:48:08 +10:00
Oliver
939d5838fa Fixes for PurchaseOrder attachment table 2021-07-08 10:45:42 +10:00
Oliver
41268d92bf Add missing bootstrap .map file 2021-07-08 10:45:23 +10:00
Oliver
1a979fc113 Filtering fix for StockItem attachments 2021-07-08 10:41:18 +10:00