cubicweb #153774 simplify worklow definition [resolved]

Current state / workflow declaration looks like:

class MyType(EntityType):
    attr = String()
    in_state = SubjectRelation('State', cardinality='1*',
                               constraints=[RQLConstraint('S is ET, O state_of ET')],
                               description=_('account state'))
    wf_info_for = ObjectRelation('TrInfo', cardinality='1*', composite='object')

It would be nice to be able to do:

class MyType(WorkflowableEntity):
    attr = String()
prioritynormal
typeenhancement
done in3.2.0
load0.250
load left0.000
closed by<not specified>