summaryrefslogtreecommitdiff
path: root/addons/barcodes/static/src/js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-02-22 13:34:13 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commitfba8d0e5cdf9b52b8b9000ade77b69093b5681d6 (patch)
treef9d62d30232dfc491d1e88e90067670d126eb92e /addons/barcodes/static/src/js
parente3546bb1b89aac4a34c5ca6b32539f1193d87d84 (diff)
[FIX] web, barcodes: attrs processing in kanban
Commit cef659783514f8935cc46a496f71063d022e8dac changed the way domains are computed but forgot to change the values representation used by the Kanban view. This commit fixes that and adds tests to make sure it does not happen again.
Diffstat (limited to 'addons/barcodes/static/src/js')
-rw-r--r--addons/barcodes/static/src/js/form_view_barcode_handler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/barcodes/static/src/js/form_view_barcode_handler.js b/addons/barcodes/static/src/js/form_view_barcode_handler.js
index 52045c59a77..9e547611591 100644
--- a/addons/barcodes/static/src/js/form_view_barcode_handler.js
+++ b/addons/barcodes/static/src/js/form_view_barcode_handler.js
@@ -18,7 +18,7 @@ var _t = core._t;
// is fine.
KanbanRecord.include({
get: function (key) {
- return this.values[key] && this.values[key].value;
+ return this.values[key];
},
});