Commit 9e9338c7 authored by Boris Kocherov's avatar Boris Kocherov

[erp5_only_office] exclude `all` levels in wizard form

parent 0959ffa1
......@@ -172,10 +172,12 @@
if (response && response.numRows > 0) {
while (response.hasMoreRows()) {
row = response.readAsObject();
if (row["LEVEL_TYPE"] !== 1) { // exclude all level type
arr.push({
const: row["LEVEL_UNIQUE_NAME"] || undefined,
title: row["LEVEL_NAME"] || undefined
});
}
response.nextRow();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment