[FIX] web: X2Many list views: don't display action buttons
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user