Commit Graph

32 Commits

Author SHA1 Message Date
Oliver Walters
5c4781b5b4 Order: Improve help text(s) 2020-08-31 19:13:24 +10:00
Oliver Walters
30b5f7d507 Drag and drop for order attachments 2020-05-13 11:28:45 +10:00
Oliver Walters
5d716d0cdd Add "upload date" field to fileattachment base class 2020-05-12 20:57:41 +10:00
Oliver Walters
d4fa7d936e Add 'user' field to attachment 2020-05-12 20:50:03 +10:00
Oliver Walters
3685ca4b95 Add some unit testing for the SalesOrder model 2020-04-27 11:32:20 +10:00
Oliver Walters
e768ada83b More work
- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
2020-04-26 16:38:29 +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
435c13cf7c Separate concept of "OrderStatus" into "SalesOrderStatus" and "PurchaseOrderStatus" 2020-04-23 20:38:09 +10:00
Oliver Walters
1373425c29 Update definition for StockItemAllocation model
- Limit foreignkey choices
- Error checking
- Check if a StockItem is over-allocated
- Fix API serialization and filtering
2020-04-22 13:11:19 +10:00
Oliver Walters
2cb1b076f6 Create "SalesOrderAllocation" object
- Links multiple StockItem objects to a single SalesOrderLineItem
2020-04-22 12:12:48 +10:00
Oliver Walters
a1376eeb9e The 'StockItem' model now has a reference to a SalesOrderLineItem 2020-04-21 15:04:21 +10:00
Oliver Walters
7385099194 Add a model to map multiple StockItem objects to a single SalesOrderLineItem 2020-04-21 10:14:55 +10:00
Oliver Walters
3d2e907d5e Add a 'sales order' view for each part 2020-04-21 09:15:01 +10:00
Oliver Walters
a2c0c7c76a Add "part" reference to SalesOrderLineItem model 2020-04-21 08:33:32 +10:00
Oliver Walters
9f97d81e83 API endpoint for serializing SalesOrder objects 2020-04-20 20:11:21 +10:00
Oliver Walters
974c98c95a Add "SalesOrder" concept
- SalesOrder model
- SalesOrderLineItem
- SalesOrderAttachment
2020-04-20 19:41:58 +10:00
Oliver Walters
c12a482e4d Add "supplier_reference" field to PurchaseOrder
- This is the code that the Supplier uses for the particuarl sales order
2020-04-15 13:32:14 +10:00
Oliver Walters
87a09a7220 Rename Order.URL to Order.link 2020-04-06 11:56:52 +10:00
Oliver Walters
570010b99c Change POLineItem quantity to a rounding decimal field 2020-03-31 21:23:57 +11:00
Oliver Walters
cc41752f9f Add PurchaseOrderAttachment model
- File attachment against PurchaseOrder
2020-03-22 18:02:53 +11:00
Oliver Walters
7ec194a14a Markdownify the notes field for PurchaseOrder
- Update model field
- Create tab view for PO page
- Add 'notes' tab
2020-02-02 11:44:44 +11:00
Oliver Walters
381becef79 Convert some more fields to decimal
- purchase order line item quantity
- purchase order line item received
2019-11-19 10:30:04 +11:00
Oliver Walters
78bfc0b6a8 Improve the 'creation date' for order
- Automatically set on first save
2019-06-17 19:44:36 +10:00
Oliver Walters
1290e7f289 Implement POST for receiving items
- Create new StockItem in the correct location
2019-06-15 19:39:57 +10:00
Oliver Walters
fe5bb23d13 Add notes field to purchase order line item 2019-06-13 21:57:35 +10:00
Oliver Walters
7b139a7f05 Form / view for creating a new purchase order 2019-06-06 21:39:04 +10:00
Oliver Walters
67248ec4dd List purchase orders for a given part 2019-06-05 21:47:22 +10:00
Oliver Walters
be6b1ae2f8 Updates for purchase order line items
- Display list of line items
- Add a form to create a new line item
2019-06-05 20:59:30 +10:00
Oliver Walters
76a72be926 Add order status field
- Display status field in PurchaseOrder list view
2019-06-04 23:09:51 +10:00
Oliver Walters
0e29f9b88c Fix related name 2019-06-04 22:26:40 +10:00
Oliver Walters
54b1ccd585 Allow blank PO description and add URL field 2019-06-04 22:26:19 +10:00
Oliver Walters
d840b44f7a Create initial models for 'Order'
- PurchaseOrder
- PurchaseOrderLineItem

(These are based on some abstract model classes)
2019-06-04 22:19:04 +10:00