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