Browse Source

[FIX] 9.0 fix funtion copy in mass.object (#1092)

pull/534/head
Nicolas Mac Rouillon 7 years ago
committed by Jairo Llopis
parent
commit
23b278d6df
  1. 2
      mass_editing/models/mass_object.py

2
mass_editing/models/mass_object.py

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

Loading…
Cancel
Save