summaryrefslogtreecommitdiff
path: root/addons/barcodes/static/src
diff options
context:
space:
mode:
authorJuhil Somaiya <jso@odoo.com>2019-08-21 06:14:05 +0000
committerAlexandre Kühn <aku@odoo.com>2019-09-23 15:00:44 +0000
commitececa1f7bf851a884c916f4ad095ba586ecbbd02 (patch)
treee6c8f0b97754946c05e4f68f57a54476f1022c69 /addons/barcodes/static/src
parente4fc7568c1252bb9fe68f52411f99d132ec3b94f (diff)
[FIX] *: hide technical field widgets in non-debug mode (Studio)
*: - account - barcodes - calenndar - hr_timesheet - mail - mass_mailing - partner_autocomplete - web - website_slides This commit removes description of fields that should not be shown in non-debug mode Studio. Only field widgets whose own description is set are displayed in non-debug mode Studio in "Widget" of sidebar. In other words, even if any ancestor has a description but not the current widget, it won't be displayed in the sidebar in non-debug mode. Task-Id 2056992 closes odoo/odoo#35902 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/barcodes/static/src')
-rw-r--r--addons/barcodes/static/src/js/barcode_field.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/barcodes/static/src/js/barcode_field.js b/addons/barcodes/static/src/js/barcode_field.js
index 1440845708f..b5786f8a161 100644
--- a/addons/barcodes/static/src/js/barcode_field.js
+++ b/addons/barcodes/static/src/js/barcode_field.js
@@ -9,7 +9,6 @@ var BarcodeEvents = require('barcodes.BarcodeEvents').BarcodeEvents;
// Field in which the user can both type normally and scan barcodes
var FieldFloatScannable = basicFields.FieldFloat.extend({
- description: "",
events: _.extend({}, basicFields.FieldFloat.prototype.events, {
// The barcode_events component intercepts keypresses and releases them when it
// appears they are not part of a barcode. But since released keypresses don't