[gen] Added and changed some methods on the basic workflow objects in order to ease modifications on workflow objects (states, transitions).
This commit is contained in:
parent
b5d38ad150
commit
75f5407e48
2 changed files with 58 additions and 4 deletions
|
@ -699,7 +699,7 @@ class AbstractWrapper(object):
|
|||
elif name == 'siteUrl': return self.o.getTool().getSiteUrl()
|
||||
# Now, let's try to return a real attribute.
|
||||
res = object.__getattribute__(self, name)
|
||||
# If we got an Appy type, return the value of this type for this object
|
||||
# If we got an Appy field, return its value for this object
|
||||
if isinstance(res, Field):
|
||||
o = self.o
|
||||
if isinstance(res, Ref):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue