Compare commits
2 Commits
6a6212e163
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| 33cefa96e1 | |||
| 155d7a9a7c |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -18,4 +18,4 @@ __pycache__
|
|||||||
node_modules/
|
node_modules/
|
||||||
.backportrc.json
|
.backportrc.json
|
||||||
label_printing/public/node_modules
|
label_printing/public/node_modules
|
||||||
|
*/node_modules/*
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
|
|
||||||
__version__ = '0.0.1'
|
__version__ = '14.38.0'
|
||||||
|
|
||||||
|
|||||||
@@ -255,13 +255,8 @@ function setupLabelsDialog(page) {
|
|||||||
|
|
||||||
function addWarehouseLabel() {
|
function addWarehouseLabel() {
|
||||||
fields = d.get_values()
|
fields = d.get_values()
|
||||||
let newRow = {
|
|
||||||
item_qty: 0,
|
|
||||||
label_qty: 1,
|
|
||||||
is_warehouse_label: true,
|
|
||||||
}
|
|
||||||
let tempValues = d.get_values()
|
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)
|
console.log(tempValues)
|
||||||
d.fields_dict.labels.refresh()
|
d.fields_dict.labels.refresh()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user