diff --git a/.gitignore b/.gitignore index b8ce83e..4d36867 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,4 @@ __pycache__ node_modules/ .backportrc.json label_printing/public/node_modules - +*/node_modules/* diff --git a/label_printing/__init__.py b/label_printing/__init__.py index 7a0660b..c8744ec 100644 --- a/label_printing/__init__.py +++ b/label_printing/__init__.py @@ -1,3 +1,2 @@ -__version__ = '0.0.1' - +__version__ = '14.38.0' diff --git a/label_printing/public/js/label_printing_desk.js b/label_printing/public/js/label_printing_desk.js index 68158c4..de673eb 100644 --- a/label_printing/public/js/label_printing_desk.js +++ b/label_printing/public/js/label_printing_desk.js @@ -255,13 +255,8 @@ function setupLabelsDialog(page) { function addWarehouseLabel() { fields = d.get_values() - let newRow = { - item_qty: 0, - label_qty: 1, - is_warehouse_label: true, - } let tempValues = d.get_values() - tempValues.labels.push({ item_qty: 0, label_qty: 0, is_warehouse_label: true }) + tempValues.labels.push({ item_qty: 0, label_qty: 1, is_warehouse_label: true }) console.log(tempValues) d.fields_dict.labels.refresh() }