This commit is contained in:
2021-11-23 00:41:38 +00:00
parent 7c5db07874
commit 44456b9df3
4 changed files with 15 additions and 16 deletions

View File

@@ -25,14 +25,10 @@
Currently doing global settings doc page, but should probably move to below items first for joyce then back to doc page
todo: Urgent - combine part number / name into single Name field, translate as "Part" simply and use key PartName still
there is a case (maybe 4025) about this and thoughts on how to migrate etc
BROKEN ITEMS:
workorder item parts shows name in wrong place and empty part column, probably quote and pm as well
todo: alternateive to "zExampleReport" naming to push to bottom, find out of can ditch the z for something nicer like a unicode symbol or emoji or whatever appears at end and isn't a z
Use lightbulb symbol emoji 💡
todo: v8Migrate add UI for part number / name migration options
two options: PartNumber, PartName to combined v8 PartName field or PartNumber to PartName and PartName to PartDescription
add code to migrate accordingly
also log the choices made in the pre-migrate options form so they are visible to the log
todo: cases for csr and for wo
@@ -969,3 +965,9 @@ BUILD 139 CHANGES OF NOTE
Also recommend drop the word "EXAMPLE" or if you feel it must be there to make it the final word in the name so that people can see the relevant bits sooner
Also recommend remove any words that redundantly refer to the object type i.e. no need to put "Customer" in a Customer report unless it's necessary
e.g. "EXAMPLE single line per PO" becomes "💡 Single line per PO" or "💡 Single line per PO example"
- case 4028 see case
- case 4029 fixed
- case 4030 see case notes
- case 4031 done
- case 4032 see case notes

View File

@@ -266,10 +266,6 @@
form().decimalValid(
this,
`Items[${activeWoItemIndex}].parts[${activeItemIndex}].suggestedQuantity`
),
form().required(
this,
`Items[${activeWoItemIndex}].parts[${activeItemIndex}].suggestedQuantity`
)
]"
@input="
@@ -655,6 +651,7 @@ export default {
partId: z.partId,
partWarehouseId: this.selectedPartWarehouse,
quantity: z.quantity,
suggestedQuantity: 0,
taxPartSaleId:
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
price: 0,
@@ -765,6 +762,7 @@ export default {
partId: 0, //deliberately zero to break rule on new
partWarehouseId: 1, //important always default to "default" warehouse id 1 as even with inventory turned off it's required
quantity: 1,
suggestedQuantity: 0,
taxPartSaleId:
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
price: 0,

View File

@@ -277,10 +277,6 @@
form().decimalValid(
this,
`Items[${activeWoItemIndex}].parts[${activeItemIndex}].suggestedQuantity`
),
form().required(
this,
`Items[${activeWoItemIndex}].parts[${activeItemIndex}].suggestedQuantity`
)
]"
@input="
@@ -677,6 +673,7 @@ export default {
partId: z.partId,
partWarehouseId: this.selectedPartWarehouse,
quantity: z.quantity,
suggestedQuantity: 0,
taxPartSaleId:
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
price: 0,
@@ -785,6 +782,7 @@ export default {
partId: 0, //deliberately zero to break rule on new
partWarehouseId: 1, //important always default to "default" warehouse id 1 as even with inventory turned off it's required
quantity: 1,
suggestedQuantity: 0,
taxPartSaleId:
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
price: 0,

View File

@@ -1905,6 +1905,7 @@ async function fetchTranslatedText(vm) {
"PurchaseOrderItemQuantityReceived",
"Part",
"PartName",
"PartUPC",
"PartDescription",
"PartWarehouse",
"TaxCode",