Oliver Walters
ad8dbb5900
Add API LIST endpoint for SalesOrderAllocations
2021-06-18 16:48:32 +10:00
Nigel
cd07ea835d
feat(purchase orders): show the preferred location for each PO Line
...
Adds the ability for the Purchaser to specify where the item is
intentended to go when received. If the Purchaser does not set a
preferred location, then the default location for the part is displayed.
If the item is received them where it was actually placed is shown.
NOTE: if an item is split when received only one of the resulting
StockItem location is used.
Fixes #1467
Addresses some of the requests in #551
2021-06-09 09:06:03 -06:00
Nigel
bca2f4a07b
feat(sales_order): Stock Items show the PO number
...
Stock items show the PO number that they were purchased on when being
viewed in the sales order allocation modal and when viewing the sales
order details.
2021-05-13 14:18:25 -06:00
Matthias Mair
e59f467c79
Merge branch 'master' into spaces!
2021-05-08 12:27:19 +02:00
Matthias
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Matthias
294e86cc38
Add in sale price model
2021-05-04 21:56:25 +02:00
Oliver Walters
a8e6d0a89f
Display overdue status in purchase order table
...
- Allow table to be filtered by "overdue" status
2021-01-14 17:37:10 +11:00
Oliver Walters
4d73aab090
Add "overdue" flag to serializer
...
- Also allow filtering by overdue status in the API
2021-01-14 17:33:24 +11:00
Oliver Walters
d1ce0f062e
Improve unit testing for StockItem API
2021-01-04 01:22:43 +11:00
Oliver Walters
c34196538b
Filter API by overdue status
2020-12-18 12:40:47 +11:00
Oliver Walters
c6134b54ab
Add "overdue" status to SalesOrder serializer
2020-12-18 12:26:58 +11:00
Oliver Walters
6e7224ee7c
Add "purchase price" field to PurchaseOrderLineItem table
2020-11-12 18:05:24 +11:00
Oliver Walters
5f2e4c3790
Update serializers for Order model
2020-09-05 23:08:59 +10:00
Oliver Walters
e128410d54
Update 'required' status for new serializers
...
(cherry picked from commit 2306e29743eb25266c78bec5357d1194e0778c58)
2020-05-26 20:29:09 +10:00
Oliver Walters
81e38eeb14
Add some more custom FileField serializers
...
(cherry picked from commit 7b9ff27baefacc977fef7852e99d8a9bb46a062a)
2020-05-26 20:29:04 +10:00
Oliver Walters
a7e5a79f4c
Expose salesorder and purchaseorder attachments to the API
2020-05-11 23:41:57 +10:00
Oliver Walters
3685ca4b95
Add some unit testing for the SalesOrder model
2020-04-27 11:32:20 +10:00
Oliver Walters
5167117067
Calculate 'fulfilled' quantity once a sales order is marked as shipped
...
- This allows us to delete the SalesOrderAllocation objects from the database
2020-04-27 08:58:18 +10:00
Oliver Walters
4147163418
Improve status code label rendering
2020-04-26 15:29:21 +10:00
Oliver Walters
9d25ed335c
Rebuild the "PurchaseOrder" detail
...
- Use AJAX and bootstrap-table
- Display progress bar
2020-04-24 12:52:08 +10:00
Oliver Walters
e384f9e94c
Order date adjustment
...
Sales order now has a "shipment date"
2020-04-23 20:42:59 +10:00
Oliver Walters
26d1a25f31
PEP style fixes
2020-04-22 22:24:06 +10:00
Oliver Walters
2972aec759
Cleverer rendering of sales order allocations
2020-04-22 20:26:05 +10:00
Oliver Walters
b70e79b778
Optionally add all SalesOrderAllocations to the SalesOrderLineItem serializer
2020-04-22 20:10:23 +10:00
Oliver Walters
8052a1989c
Serialize the allocated quantity for a purchase-order line item
2020-04-21 11:41:08 +10:00
Oliver Walters
617fbf2f02
Moar stuffs:
...
- Expose part_detail and order_detail to SOLineItem serializer
- Update SalesOrder line item table
2020-04-21 08:57:13 +10:00
Oliver Walters
b2569d5cba
Expose SalesOrderLineItem objects to the REST API
2020-04-20 21:11:59 +10:00
Oliver Walters
627c50e465
Render a table of sales orders
2020-04-20 20:27:52 +10:00
Oliver Walters
9f97d81e83
API endpoint for serializing SalesOrder objects
2020-04-20 20:11:21 +10:00
Oliver Walters
746e9ab983
Fix rendering of PurchaseOrder table
2020-04-20 09:48:33 +10:00
Oliver Walters
99fcbcc646
Consolidation of PurchaseOrder API
2020-04-20 09:41:21 +10:00
Oliver Walters
610f85597f
Expose supplier_reference to external API
2020-04-15 14:18:17 +10:00
Oliver Walters
87a09a7220
Rename Order.URL to Order.link
2020-04-06 11:56:52 +10:00
Oliver Walters
b5f2c9d311
Add API endpoint for purchase orders
...
- List and create purchase orders
- List and create purchase order line items
2019-08-02 21:46:26 +10:00