[FIX] web: one2many displayed even if no data.

Before this commit, the one2many widget was not displayed if no data.
That make some form (notebook) empty while the user don't click en edit to see the widget appear.

Eg: stock picking 'Initial Demand' tab

Courtesy of @ged-odoo
This commit is contained in:
Jeremy Kersten
2016-10-17 17:32:42 +02:00
parent a88a2f51b4
commit e05dba357e
@@ -1275,6 +1275,9 @@ var FieldOne2Many = FieldX2Many.extend({
return self.mutex.def;
});
},
is_false: function() {
return false;
},
});
var Many2ManyListView = X2ManyListView.extend({