Browse Source

[FIX] Fixed Travis.

Silvestarserpentcs 7 years ago
parent
commit
fa2bd0b0bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mass_editing/wizard/mass_editing_wizard.py

+ 2 - 2
mass_editing/wizard/mass_editing_wizard.py

@@ -257,8 +257,8 @@ class MassEditingWizard(models.TransientModel):
     def create(self, vals):
         model_name = self._context.get('active_model')
         active_ids = self._context.get('active_ids')
-        model_id = self.env['ir.model'].search([
-                ('model', '=', self._context.get('active_model'))])
+        model_id = self.env['ir.model'].search(
+            [('model', '=', self._context.get('active_model'))])
         if model_name and active_ids:
             values = {}
             for key, val in vals.items():