summaryrefslogtreecommitdiff
path: root/addons/account/static/src/js/section_and_note_fields_backend.js
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/account/static/src/js/section_and_note_fields_backend.js
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/account/static/src/js/section_and_note_fields_backend.js')
-rw-r--r--addons/account/static/src/js/section_and_note_fields_backend.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/account/static/src/js/section_and_note_fields_backend.js b/addons/account/static/src/js/section_and_note_fields_backend.js
index 2247afdfbe3..8bece6a09ba 100644
--- a/addons/account/static/src/js/section_and_note_fields_backend.js
+++ b/addons/account/static/src/js/section_and_note_fields_backend.js
@@ -76,7 +76,6 @@ var SectionAndNoteListRenderer = ListRenderer.extend({
// to be sure this custom code will only impact selected fields having the widget
// and not applied to any other existing ListRenderer.
var SectionAndNoteFieldOne2Many = FieldOne2Many.extend({
- description: "",
/**
* We want to use our custom renderer for the list.
*