diff --git a/client/item/src/data/data.html b/client/item/src/data/data.html index 507fdc2b2..d37fc0af1 100644 --- a/client/item/src/data/data.html +++ b/client/item/src/data/data.html @@ -51,6 +51,7 @@ field="$ctrl.item.expenceFk" initial-data="$ctrl.item.expence"> + diff --git a/client/item/src/data/locale/es.yml b/client/item/src/data/locale/es.yml new file mode 100644 index 000000000..8efa03cd6 --- /dev/null +++ b/client/item/src/data/locale/es.yml @@ -0,0 +1 @@ +Reference: Referencia \ No newline at end of file diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index dee236660..e36069078 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -234,7 +234,7 @@ export default { itemBarcodes: { barcodeButton: `${components.vnMenuItem}[ui-sref="item.card.itemBarcode"]`, addBarcodeButton: `${components.vnIcon}[icon="add_circle"]`, - thirdCodeInput: `vn-horizontal:nth-child(4) > ${components.vnTextfield}`, + thirdCodeInput: `vn-item-barcode vn-horizontal:nth-child(4) > ${components.vnTextfield}`, submitBarcodesButton: `${components.vnSubmit}`, firstCodeRemoveButton: `vn-horizontal:nth-child(2) > ${components.vnIcon}[icon="remove_circle_outline"]` }, diff --git a/services/loopback/common/methods/item/clone.js b/services/loopback/common/methods/item/clone.js index b0021bb0b..4846a4825 100644 --- a/services/loopback/common/methods/item/clone.js +++ b/services/loopback/common/methods/item/clone.js @@ -37,6 +37,7 @@ module.exports = Self => { delete copy.id; delete copy.itemTag; + delete copy.description; let newItem = await Self.create(copy); let promises = [];