Browse Source

[FIX][mass_editing] Remove view mode space

This resulted in frontend searching for ` tree` view, which of course does not exist.
pull/805/head
Jairo Llopis 8 years ago
committed by Pedro M. Baeza
parent
commit
13ec3fbce1
  1. 2
      mass_editing/models/mass_object.py

2
mass_editing/models/mass_object.py

@ -63,7 +63,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