Browse Source

[FIX] Fixed travis CI log.

Hetal Zala 7 years ago
parent
commit
817f3f9333
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mass_editing/models/ir_model_fields.py
  2. 1 1
      mass_editing/models/mass_object.py

+ 1 - 1
mass_editing/models/ir_model_fields.py

@@ -14,7 +14,7 @@ class IrModelFields(models.Model):
         for domain in args:
             if (len(domain) > 2 and domain[0] == 'model_id' and
                     isinstance(domain[2], basestring) and
-                        list(domain[2][1:-1])):
+                    list(domain[2][1:-1])):
                 model_domain += [('model_id', 'in',
                                   map(int, domain[2][1:-1].split(',')))]
             else:

+ 1 - 1
mass_editing/models/mass_object.py

@@ -94,7 +94,7 @@ class MassObject(models.Model):
         self.unlink_action()
         return super(MassObject, self).unlink()
 
-    @api.one
+    @api.multi
     @api.returns('self', lambda value: value.id)
     def copy(self, default=None):
         if default is None: