Browse Source

publish muk_security - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
bb6e55d17d
  1. 2
      muk_security/__manifest__.py
  2. 4
      muk_security/models/mixins_locking.py

2
muk_security/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Security",
"summary": """Security Features""",
"version": "12.0.1.2.8",
"version": "12.0.1.2.9",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

4
muk_security/models/mixins_locking.py

@ -93,11 +93,11 @@ class LockingModel(models.AbstractModel):
@api.multi
def _write(self, vals):
self.check_lock()
return super(BaseModelLocking, self)._write(vals)
return super(LockingModel, self)._write(vals)
@api.multi
def unlink(self):
self.check_lock()
return super(BaseModelLocking, self).unlink()
return super(LockingModel, self).unlink()
Loading…
Cancel
Save