|
d31f2be955
|
Make "shipment" field required for a SalesOrderAllocation
- Deleting a "Shipment" will delete any "Allocation" objects which reference it
- Improve existing data migration for new shipment model
|
2021-10-25 22:47:41 +11:00 |
|
|
ce5b47460a
|
Added data migration for existing SalesOrder instances
- If a SalesOrder is "PENDING" or there are allocations available, a shipment is created
|
2021-10-25 22:35:27 +11:00 |
|
|
2f7e0974b7
|
Add 'shipment' foreign-key field to SalesOrderAllocation model
|
2021-10-25 17:42:56 +11:00 |
|
|
f00ec26efd
|
Create SalesOrderShipment model
|
2021-10-25 13:09:06 +11:00 |
|
|
5f6e67086f
|
Add "reload" button for salesorderlineitem table
|
2021-10-24 19:35:23 +11:00 |
|
|
6ebb956c8d
|
Fix generation of API documentation
- Can't use get_object_or_404 in API views!
|
2021-10-17 22:32:03 +11:00 |
|
|
a97a918860
|
cut out the fat
(removing dead code for outdated form views)
|
2021-10-17 21:46:33 +11:00 |
|
|
ccaa7d2683
|
Merge branch 'master' into build-output-complete
|
2021-10-16 13:18:35 +11:00 |
|
|
b60296e494
|
Add some more unit tests
|
2021-10-16 13:16:19 +11:00 |
|
|
bf47b57c82
|
working on updating build output tables
|
2021-10-14 23:46:21 +11:00 |
|
|
be6f417dff
|
Random button cleanup
|
2021-10-14 23:13:12 +11:00 |
|
|
54dd05a24d
|
Add an API serializer to complete build outputs
|
2021-10-14 23:13:01 +11:00 |
|
|
2c9bbb051a
|
Add some unit tests
- Saving a model automatically updates the reference_int field
- Data migrations are correctly applied
|
2021-10-14 19:12:23 +11:00 |
|
|
d0f60766e0
|
exclude new field from admin view
|
2021-10-14 18:57:02 +11:00 |
|
|
d3d1d2f577
|
Auto-rebuild the reference field for the SalesOrder on save
|
2021-10-14 18:00:17 +11:00 |
|
|
068b54f666
|
Data migration for PurchaseOrder and SalesOrder models
|
2021-10-14 17:58:09 +11:00 |
|
|
7ce0f817aa
|
Add a 'reference_int' field to the models, to be used as a secondary index
|
2021-10-14 17:45:43 +11:00 |
|
|
e46875b0a3
|
Apply same fix to PurchaseOrder and SalesOrder lists
|
2021-10-14 14:31:25 +11:00 |
|
|
64cf916c50
|
Add a form to select export format
|
2021-10-07 13:33:10 +11:00 |
|
|
d391c5059b
|
Adds button to sales order page to export to file
|
2021-10-07 13:21:30 +11:00 |
|
|
996ccbe5bd
|
Adds view for exporting sales order
|
2021-10-07 13:16:25 +11:00 |
|
|
535d45bce4
|
Remove outdated Views / Forms
|
2021-10-06 20:19:29 +11:00 |
|
|
336b05aa4e
|
Exclude sales order allocations when searching stock
|
2021-10-06 17:42:00 +11:00 |
|
|
4d13674452
|
Migrate views to use the API forms architecture:
- SalesOrderAllocationEdit
- SalesOrderAllocationDelete
|
2021-10-06 17:16:01 +11:00 |
|
|
b8b4c60c43
|
Fix API endpoints for so-allocation detail
|
2021-10-06 17:02:03 +11:00 |
|
|
0b7811b7e0
|
Add API endpoint for SalesOrderAllocation model
- Increment API version number
|
2021-10-06 16:54:40 +11:00 |
|
|
4d8bec9663
|
Fix rendering of row sub tables
|
2021-10-06 16:38:13 +11:00 |
|
|
4d2cf233b3
|
Move the "loadSalesOrderLineItemTable" code to order.js
|
2021-10-06 16:14:39 +11:00 |
|
|
93c53315cc
|
Unit test fixes
|
2021-10-05 17:35:10 +11:00 |
|
|
dd760bfecd
|
Add filtering by "completed" status for purchase order line items
|
2021-10-05 17:15:41 +11:00 |
|
|
5e951ef64b
|
Add 'filtering' for purchase order line item table
|
2021-10-05 16:57:33 +11:00 |
|
|
87f1bd87e7
|
Add button to receive selected items
|
2021-10-05 16:52:24 +11:00 |
|
|
8684b55582
|
PEP fixes
|
2021-10-05 16:39:18 +11:00 |
|
|
05d8f2b216
|
Remove outdated unit test case
|
2021-10-05 16:35:11 +11:00 |
|
|
1ea9b6f4cf
|
PEP fixes
|
2021-10-05 16:10:00 +11:00 |
|
|
dd4428464d
|
Receiving items against a purchase order now makes use of the API forms
- Delete old unused code
- Improve serializer validation
|
2021-10-05 16:05:18 +11:00 |
|
|
b75e817447
|
Construct bare-bones API form
|
2021-10-05 14:57:50 +11:00 |
|
|
e39f1c320c
|
Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements
|
2021-10-05 12:53:47 +11:00 |
|
|
99503a60d3
|
Fix for "barcode" field in purchase order receive serializer
- Allow blank values!
|
2021-10-05 12:16:41 +11:00 |
|
|
ddcfc8996c
|
Further fixes for API / serializer classes
- Correctly catch and re-throw errors
- Provide request to serializer context
|
2021-10-05 12:12:37 +11:00 |
|
|
29588ff2c5
|
Refactor the POReceive API endpoint
- Lessons learned from the build allocate
- Use serializer.save() directly
|
2021-10-05 11:20:43 +11:00 |
|
|
dd4db6442e
|
PEP fixes
|
2021-10-05 00:45:49 +11:00 |
|
|
5ded23fd99
|
Fixes for serializer validation
- Note: use the validate() function!
- Ref: https://www.django-rest-framework.org/api-guide/serializers/
- override serializer.save() functionality for simpler operation
|
2021-10-04 23:44:23 +11:00 |
|
|
8c78d3b8ea
|
Add unit test
|
2021-10-03 01:03:40 +10:00 |
|
|
6d448d8475
|
Handle internal django errors when receiving purchase order items via the API
(cherry picked from commit 9355c68024 )
|
2021-10-03 00:24:09 +10:00 |
|
|
b9b23a3853
|
bug fix
|
2021-09-08 14:14:14 +10:00 |
|
|
1a21576f28
|
Adds separate option for "prevent_new_stock" to stock_table
|
2021-09-08 12:57:42 +10:00 |
|
|
8368798280
|
Move po-line-item-table into javascript file
- for better linting
|
2021-09-08 12:51:49 +10:00 |
|
|
f38bf6e20a
|
Adds unit testing for barcode field
|
2021-09-07 23:34:14 +10:00 |
|
|
bf05c9cfae
|
Adds "barcode" field to POLineItem receive serializer
|
2021-09-07 23:06:36 +10:00 |
|