Oliver
|
b04a403081
|
subclass TreeManager
|
2021-07-20 22:15:49 +10:00 |
|
Oliver
|
cb0b7209ec
|
Add custom "list" function back in
- Actually does make a significant difference to query speed
|
2021-07-20 22:12:01 +10:00 |
|
Oliver
|
84fc2785d6
|
Create a custom Manager class for the Part model
- Always perform prefetch_related calls
|
2021-07-20 21:26:51 +10:00 |
|
Matthias Mair
|
c2ce569506
|
Merge branch 'inventree:master' into bom-internal
|
2021-07-19 21:51:18 +02:00 |
|
Matthias
|
8d2e910323
|
style fix
|
2021-07-19 21:50:06 +02:00 |
|
Oliver
|
bf2774eb21
|
Add numerical validation step for BomItem
|
2021-07-10 13:48:44 +10:00 |
|
Oliver
|
cbf0e0bd4a
|
Refactor forms for editing and deleting a PartParameter
- PartParameters now loaded using the API, not pre-rendered
|
2021-07-09 01:56:04 +10:00 |
|
Oliver
|
376428b80b
|
Add regex IPN filter for Part API
|
2021-07-08 17:02:45 +10:00 |
|
Oliver
|
798bc17311
|
Merge remote-tracking branch 'inventree/master' into drf-api-forms
|
2021-06-29 09:57:03 +10:00 |
|
Matthias
|
e4a9d56ba0
|
style fixes
|
2021-06-27 14:26:51 +02:00 |
|
Matthias
|
4f726931a6
|
adds in money-conversion helper
|
2021-06-27 14:18:37 +02:00 |
|
Matthias
|
67128c308b
|
fixing typo
|
2021-06-27 12:26:02 +02:00 |
|
Oliver
|
67f76c8bca
|
Merge remote-tracking branch 'inventree/master' into drf-api-forms
|
2021-06-27 09:26:23 +10:00 |
|
Matthias
|
9ce5a9823e
|
added doc for internal price
|
2021-06-24 21:48:00 +02:00 |
|
Matthias
|
abe00232f3
|
use internal price in more places
|
2021-06-24 21:47:11 +02:00 |
|
Oliver
|
04374c71c2
|
Annotate models with their API list view
- It will make sense, trust me
|
2021-06-25 00:17:58 +10:00 |
|
rgilham
|
c6fd2281d6
|
Allow BOM pricing to be valid when using internal pricing
|
2021-06-24 02:13:55 +02:00 |
|
Oliver
|
6d2cd78d29
|
Fixes for unit tests
|
2021-06-22 10:36:04 +10:00 |
|
Oliver
|
a38835022a
|
Better management of unique constraint for Part
|
2021-06-22 09:33:07 +10:00 |
|
Oliver
|
04b216253d
|
Ok, that was a bad idea.
|
2021-06-21 11:30:20 +10:00 |
|
Matthias
|
4f3bfe569a
|
added in internal prices in price calculations
|
2021-06-07 05:25:13 +02:00 |
|
Matthias
|
81f00753c6
|
style
|
2021-06-05 17:24:04 +02:00 |
|
Matthias
|
768080f9a0
|
Adding internal functions to use internal prices
|
2021-06-05 17:06:58 +02:00 |
|
Matthias
|
0d93c96f2a
|
adding internal price breaks as in #1606
|
2021-06-05 17:01:49 +02:00 |
|
Oliver Walters
|
5c71f04360
|
Add "allow_variants" field to BomItem
|
2021-06-01 13:59:01 +10:00 |
|
Oliver Walters
|
c2fe5e08b4
|
Expand possibilities for variant conversion
- Ref get_conversion_options
|
2021-05-27 12:35:55 +10: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
|
1b7ade9405
|
adding in missing parts for full saleprice
|
2021-05-05 23:47:46 +02:00 |
|
Oliver Walters
|
0fbf39f1bc
|
More fixes
|
2021-04-20 10:59:28 +10:00 |
|
Oliver Walters
|
6b9145ae56
|
Fixes required for v3.2 compatibility
- Specify DEFAULT_AUTO_FIELD
- Specify output_field for annotations
|
2021-04-20 09:14:08 +10:00 |
|
Oliver Walters
|
e787c853e5
|
Update logger context
|
2021-04-10 20:08:13 +10:00 |
|
Matthias
|
32eaf48c12
|
fixed styling
|
2021-04-06 18:33:57 +02:00 |
|
Matthias
|
20c455384e
|
added more translation-strings
|
2021-04-04 22:44:14 +02:00 |
|
Matthias
|
2de6fcbfa4
|
added missing translation fields #753
|
2021-04-03 03:59:09 +02:00 |
|
eeintech
|
64a57128bc
|
Return True for BOM valid flag if part does not have BOM items
|
2021-03-15 10:37:30 -04:00 |
|
Oliver Walters
|
f2da1c990b
|
Simplify process for marking a part as "starred"
|
2021-02-25 23:27:27 +11:00 |
|
Oliver
|
35b9b17167
|
Merge pull request #1354 from SchrodingersGat/tree-fix
Sidenav Fixes
|
2021-02-25 09:45:56 +11:00 |
|
Oliver Walters
|
15a59d54ca
|
Abstract template context data for part
|
2021-02-24 09:05:31 +11:00 |
|
Oliver Walters
|
b64d48544d
|
Bug fix for trackable parts
|
2021-02-23 16:49:09 +11:00 |
|
Oliver Walters
|
e75b9d04fe
|
PEP fix
|
2021-02-18 14:38:25 +11:00 |
|
Oliver Walters
|
7a51e6cf78
|
Implement filtering which accommodates new inheritable BOM feature
- Can no longer filter bom_items by sub_part
- Adds get_used_in_filter() and get_used_in() for part model (returns a query of other part objects)
|
2021-02-18 14:35:21 +11:00 |
|
Oliver Walters
|
abe1018abe
|
Add new fields to BOM item hash
|
2021-02-18 00:40:30 +11:00 |
|
Oliver Walters
|
8caf6bad10
|
Fix for duplicating BOM
- Do not duplicate bom items which are "inherited"
|
2021-02-18 00:38:40 +11:00 |
|
Oliver Walters
|
3f30421ba9
|
bug fix
|
2021-02-17 23:57:45 +11:00 |
|
Oliver Walters
|
bb3440a8a4
|
Refactor bom item filter
- Also updates a number of part functions to make use of inherited BOM items
|
2021-02-17 22:53:56 +11:00 |
|
Oliver Walters
|
d692c18274
|
Add 'inherited' field to BomItem
|
2021-02-17 21:53:15 +11:00 |
|
Oliver Walters
|
fcc35f2260
|
Fix display of parts currently being built
|
2021-02-17 13:14:27 +11:00 |
|
Oliver Walters
|
ba542dcbdb
|
Auto-fill build quantity
|
2021-02-17 13:06:18 +11:00 |
|
Oliver Walters
|
8780b8435a
|
style fix
|
2021-02-17 12:46:05 +11:00 |
|