eeintech
33dfecfdef
Added create view test cases for stock ownership
2020-12-03 13:29:59 -05:00
eeintech
3aad5111b5
Stock ownership: test case for edit stock location and item
2020-12-03 11:56:45 -05:00
eeintech
f99c83f69d
Added test case for stock location ownership
2020-12-03 07:32:01 -05:00
eeintech
5c6939429a
Improved handling of stock location owner
2020-12-02 17:19:41 -05:00
eeintech
1a7a460ba8
Hidden owner field when ownership control is disabled
2020-12-02 14:05:45 -05:00
eeintech
de1dfdcc38
Improved naming of new setting and variables
2020-12-02 13:38:53 -05:00
eeintech
2bdd1305ed
Fix style
2020-12-02 13:26:26 -05:00
eeintech
c66ac2579e
Updated StockItem create/edit view with ownership control
2020-12-02 13:25:33 -05:00
eeintech
2d7461f609
Updated StockLocation create/edit view with ownership control
2020-12-02 12:05:00 -05:00
eeintech
c9b3c16c6f
Added help text on owner fields
2020-12-01 17:46:11 -05:00
eeintech
8dac6bb982
Updated template stock item logic and added to stock locations
2020-12-01 17:41:03 -05:00
eeintech
4104e7df8e
Fixed template logic
2020-12-01 16:08:27 -05:00
eeintech
2c38be2d13
Added global setting and updated stock item templates
2020-12-01 15:54:05 -05:00
eeintech
e1fb7e5d98
Added owner field to both stock item and location tables and forms
2020-12-01 13:45:01 -05:00
Oliver
9dae7c1566
Merge pull request #1154 from SchrodingersGat/build-delete-fix
...
Change delete behaviour for parent build item
2020-12-01 12:36:24 +11:00
Oliver Walters
47d38e1cca
Change delete behaviour for parent build item
...
- was causing database integrity errors when a parent build existed
2020-12-01 10:24:51 +11:00
Oliver
28a5ee32c4
Merge pull request #1152 from elmo2k3/fix-stocklist-sidebar
...
Fix sidenav in stocklist
2020-12-01 08:56:41 +11:00
Bjoern Biesenbach
95f62d529f
Fix sidenav in stocklist
2020-11-30 18:30:51 +01:00
Oliver
a8f605c2e6
Merge pull request #1149 from SchrodingersGat/bom-upload-speed
...
Vastly improved speed of BOM upload
2020-11-27 15:25:46 +11:00
Oliver Walters
ea2f5009c8
Vastly improved speed of BOM upload
...
- Was calculating the stock levels for *every* part, for *every* drop down
- Many many many calls were being made
- Just remove stock count entirely from the drop-down menus
2020-11-27 14:40:30 +11:00
Oliver
a5e6ac2300
Merge pull request #1148 from SchrodingersGat/order-parts
...
Order parts
2020-11-27 12:28:04 +11:00
Oliver
b150c9c6bc
Merge pull request #1147 from SchrodingersGat/form-fixes
...
Fixes for 'non field' errors in forms
2020-11-27 12:27:53 +11:00
Oliver Walters
50a88e4826
Revert "Add extra context to SupplierPartCreate form"
...
This reverts commit 5f8f0232a9
.
2020-11-27 11:19:16 +11:00
Oliver Walters
6c68197e61
Allow part ordering from build view
2020-11-27 11:18:58 +11:00
Oliver Walters
7068f70811
Fixes for 'order parts' form
...
- Sometimes the part pk was not being retrieved properly
2020-11-27 11:18:45 +11:00
Oliver Walters
607cc90ce0
Add extra context to SupplierPartCreate form
...
(cherry picked from commit 5f8f0232a9
)
2020-11-27 11:18:23 +11:00
Oliver Walters
5f8f0232a9
Add extra context to SupplierPartCreate form
2020-11-27 11:17:55 +11:00
Oliver Walters
56f05e2604
Fixes for 'non field' errors in forms
...
- Fixes issue where non-model fields would not show error text
2020-11-27 10:42:01 +11:00
Oliver
aacc7119bd
Merge pull request #1144 from SchrodingersGat/bom-fixes
...
Bom fixes
2020-11-24 22:28:20 +11:00
Oliver Walters
083d7671d0
Bug fix for BOM table
...
If the BOM for part included a BomItem with the same PK as the top-level part,
the bootstrap-tree-grid library borked
Probably for good reason, too!
So we now ensure that the top-level key is unique
2020-11-24 21:19:19 +11:00
Oliver Walters
28333c1a21
Add a simple "shell" task
2020-11-24 21:18:00 +11:00
Oliver Walters
e3231bbedb
Hide "pricing" information in the BOM table
2020-11-24 20:58:18 +11:00
Oliver
3ff0759bb9
Merge pull request #1142 from SchrodingersGat/bom-form-fixes
...
Bom form fixes
2020-11-24 14:23:04 +11:00
Oliver Walters
b5d75d6e6a
PEP fixes
2020-11-24 11:56:51 +11:00
Oliver Walters
ce82579930
Cleanup getRequiredParts function
2020-11-24 10:18:07 +11:00
Oliver Walters
371ec582e1
Cleanup queryset for BomItemEdit view
2020-11-24 09:43:49 +11:00
Oliver Walters
3391db506a
Cleanup queryset for BomItemCreate view
2020-11-24 09:43:32 +11:00
Oliver Walters
af9b88de11
Fix for BomItem clean function
...
Handle the case where the sub_part does not exist
2020-11-24 09:33:26 +11:00
Oliver
73259c0bcb
Merge pull request #1140 from SchrodingersGat/request-frequency
...
Reduce duplicate function calls in custom context parser
2020-11-20 11:40:10 +11:00
Oliver
a0168515c3
Merge pull request #1139 from eeintech/fix_supplierpart_edit_form
...
Fix for SupplierPart edit form validation
2020-11-20 09:40:00 +11:00
Oliver Walters
20e8161038
Reduce duplicate function calls in custom context parser
2020-11-20 08:29:06 +11:00
eeintech
11745ebd6c
Removed one too many indent
2020-11-19 15:32:42 -05:00
eeintech
4768c9cbb3
Fixed validation of SupplierPart edit form by forcing the value of single_pricing field
2020-11-19 15:31:39 -05:00
Oliver
6b104fbb8b
Merge pull request #1136 from SchrodingersGat/warning-icon
...
Add framework for "health checks"
2020-11-19 13:30:17 +11:00
Oliver Walters
4049c8e915
Adds framework for "server health" display
...
- Adds global context object "system_healthy" (boolean)
- Framework for running system health checks
- Updated system info forms
- Displays warning next to user menu if system health errors exist
(cherry picked from commit ce6d626ab39147fc389de90815ca8baae2385d82)
2020-11-19 12:36:54 +11:00
Oliver
e55f4a2798
Merge pull request #1135 from SchrodingersGat/quoth-the-raven
...
Fixes for custom SQL queries
2020-11-19 10:34:53 +11:00
Oliver Walters
599220a931
Fixes for custom SQL queries
...
- Don't use double quotes!
- NO NO NO!
- Single quotes only
2020-11-19 09:15:16 +11:00
Oliver
0594ebaef7
Merge pull request #1133 from SchrodingersGat/stock-table-fix
...
Smallt tweaks for the Stock table
2020-11-18 15:24:06 +11:00
Oliver Walters
24fd520ec3
Smallt tweaks for the Stock table
2020-11-18 15:03:51 +11:00
Oliver
4daf291619
Merge pull request #1131 from SchrodingersGat/purchase-price-fix
...
Fix for StockItem creation form
2020-11-17 16:07:31 +11:00