Merge pull request 'merge' (#2) from develop into version-14
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -18,4 +18,4 @@ __pycache__
|
||||
node_modules/
|
||||
.backportrc.json
|
||||
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() {
|
||||
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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user