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,
'view_type': 'form',
'context': "{'mass_editing_object' : %d}" % (self.id),
'view_mode': 'form, tree',
'view_mode': 'form,tree',
'target': 'new',
'auto_refresh': 1,
}).id

Loading…
Cancel
Save