[FIX] web: X2Many list views: don't display action buttons

This commit is contained in:
Aaron Bohy
2015-12-01 11:01:46 +01:00
parent 90254beedb
commit e39c26c8ff
@@ -759,6 +759,7 @@ var FieldX2Many = AbstractManyField.extend({
}
if(view.view_type === "list") {
_.extend(view.options, {
action_buttons: false, // to avoid 'Save' and 'Discard' buttons to appear in X2M fields
addable: null,
selectable: self.multi_selection,
sortable: true,