Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
643570a7770f
Commit
e0221126
authored
Aug 21, 2009
by
Sylvain Thénault
Browse files
[schema] oops, should use BaseTransition here
--HG-- branch : 3.5
parent
a2aa2c51f3be
Changes
1
Hide whitespace changes
Inline
Side-by-side
schemas/workflow.py
View file @
643570a7
...
...
@@ -133,7 +133,7 @@ class TrInfo(EntityType):
to_state
=
SubjectRelation
(
'State'
,
cardinality
=
'1*'
)
# make by_transition optional because we want to allow managers to set
# entity into an arbitrary state without having to respect wf transition
by_transition
=
SubjectRelation
(
'Transition'
,
cardinality
=
'?*'
)
by_transition
=
SubjectRelation
(
'
Base
Transition'
,
cardinality
=
'?*'
)
comment
=
RichString
(
fulltextindexed
=
True
)
# get actor and date time using owned_by and creation_date
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment