Commit Graph

739 Commits

Author SHA1 Message Date
Oliver 421db61f21 Adding unit testing for new features 2022-02-28 23:09:57 +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
Matthias dbb4c3f407
Merge branch 'master' of https://github.com/inventree/InvenTree into coverage-fixes 2022-02-13 17:46:09 +01:00
Matthias 22bc0b3d90
ignore exception ref 2022-02-13 05:21:43 +01:00
Matthias a4c6d0e6c5
fix migration coverage for orders 2022-02-13 04:49:08 +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
Oliver dbf1e1b463 Fix logic for enabling "place order" button 2022-02-08 08:59:42 +11:00
Oliver 64b1523013 Do not hide the "submit order" button 2022-02-07 13:55:25 +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 5ec1d5aab8 Display allocations for individual stock items 2022-01-27 15:21:04 +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 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 ff897ccc41
remove dead code 2022-01-21 00:30:51 +01:00
eeintech 391836689d Allow decimal for quantity received on PO 2022-01-17 09:04:14 -05: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
Oliver 13d8bf437a PEP fixes 2022-01-10 09:02:11 +11:00
Oliver 2370e41961 Add multiple triggered events for the "order" app 2022-01-10 09:01:17 +11:00
Matthias 95ee4f908f
Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append 2021-12-29 23:45:19 +01:00
Matthias 2ec41b02f8
append information about next serial numbe to fnc call
Fixes #2484
2021-12-29 03:01:52 +01:00
Oliver 943b27e195 Adds "items" list to API endpoint 2021-12-20 19:29:08 +11:00
Oliver 463192e0b9 Improved table filtering for "purchase order" table (as seen from "part" view) 2021-12-07 10:33:09 +11: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 087ac0bd34 Adds filter to purchase order for "assigned to me" 2021-12-04 21:15:38 +11:00
Oliver 1667af4c07 Add autocomplete fields to "order" admin pages 2021-12-04 20:09:39 +11:00
Oliver 9e35c52b1d unit testing fixes 2021-12-04 17:30:13 +11:00
Oliver 31398b4c10 Sales order can now be completed via the API 2021-12-04 13:50:11 +11:00
Oliver 008c52ef39 Allocation by serial number now moved to the API 2021-12-04 13:08:00 +11:00
Oliver e9796676c0 Add a progress spinner to modal forms 2021-12-04 10:44:48 +11:00
Oliver 9ba6ac423d Add shipment status to sales order page 2021-12-04 10:16:51 +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 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
Oliver 6b29e60494 Fixes for migration tests 2021-12-03 11:12:49 +11: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 80b615bfb7 Import fix 2021-12-03 00:08:05 +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
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 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 c2a6a8a30c
PEP fix 2021-12-02 10:01:20 +01:00