summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/debug_manager.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-09-11 13:30:03 +0200
committerChristophe Simonis <chs@odoo.com>2017-09-11 13:30:03 +0200
commit3ac2a1106c8c776a951337b174a056f817246f98 (patch)
tree9d44af90164614918d8ccedd06a37361d39cd7fe /addons/web/static/src/js/widgets/debug_manager.js
parent3ae9a6b5376dafe8b96fbef00014d871cf3f4d4b (diff)
parentec15765eecfecff3e3b0a4cc8810d73f042e30c2 (diff)
[MERGE] forward port branch saas-15 up to ec15765eecf
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
-rw-r--r--addons/web/static/src/js/widgets/debug_manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js
index 5fc51d1deb1..e9abd2794f2 100644
--- a/addons/web/static/src/js/widgets/debug_manager.js
+++ b/addons/web/static/src/js/widgets/debug_manager.js
@@ -390,7 +390,7 @@ DebugManager.include({
// or m2m
if (!value || invisibleOrReadOnly || fieldInfo.type === 'one2many' ||
fieldInfo.type === 'many2many' || fieldInfo.type === 'binary' ||
- fieldsInfo[fieldName].options.isPassword) {
+ fieldsInfo[fieldName].options.isPassword || !_.isEmpty(fieldInfo.depends)) {
return false;
}
return {