Browse Source

[FIX][mass_editing] Remove view mode space

This resulted in frontend searching for ` tree` view, which of course does not exist.
pull/799/head
Jairo Llopis 8 years ago
parent
commit
38bda4f78c
  1. 2
      mass_editing/models/mass_object.py

2
mass_editing/models/mass_object.py

@ -62,7 +62,7 @@ class MassObject(models.Model):
'src_model': src_obj, 'src_model': src_obj,
'view_type': 'form', 'view_type': 'form',
'context': "{'mass_editing_object' : %d}" % (self.id), 'context': "{'mass_editing_object' : %d}" % (self.id),
'view_mode': 'form, tree',
'view_mode': 'form,tree',
'target': 'new', 'target': 'new',
'auto_refresh': 1, 'auto_refresh': 1,
}).id }).id

Loading…
Cancel
Save