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", "name": "MuK Security",
"summary": """Security Features""", "summary": """Security Features""",
"version": "12.0.1.2.8",
"version": "12.0.1.2.9",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"website": "http://www.mukit.at", "website": "http://www.mukit.at",

4
muk_security/models/mixins_locking.py

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