Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
667544c985
  1. 2
      muk_utils/__manifest__.py
  2. 5
      muk_utils/models/mixins_hierarchy.py

2
muk_utils/__manifest__.py

@ -19,7 +19,7 @@
{
"name": "MuK Utils",
"summary": """Utility Features""",
"version": '12.0.1.4.8',
"version": '12.0.1.4.9',
"category": 'Extra Tools',
"license": "AGPL-3",
"author": "MuK IT",

5
muk_utils/models/mixins_hierarchy.py

@ -31,6 +31,7 @@ class Hierarchy(models.AbstractModel):
_parent_store = True
_parent_path_sudo = False
_parent_path_store = False
#----------------------------------------------------------
# Database
@ -50,17 +51,17 @@ class Hierarchy(models.AbstractModel):
_module=self._module,
compute='_compute_parent_path',
compute_sudo=self._parent_path_sudo,
store=self._parent_path_store,
string="Path Names",
readonly=True,
store=True,
automatic=True))
add('parent_path_json', fields.Text(
_module=self._module,
compute='_compute_parent_path',
compute_sudo=self._parent_path_sudo,
store=self._parent_path_store,
string="Path Json",
readonly=True,
store=True,
automatic=True))
#----------------------------------------------------------

Loading…
Cancel
Save