Available on: http://pokoli.github.io/tryton-erp-adapted-to-your-needs
Development version is (normally) stable
class Conference(Workflow, ModelSQL, ModelView):
'Conference'
__name__ = 'conference'
_states = {
'readonly': Eval('state') != 'draft',
}
_depends = ['state']
name = fields.Char('Name', required=True, states=_states, depends=_depends)
start_date = fields.Date('Start Date', required=True,
states=_states, depends=_depends)
end_date = fields.Date('End Date', states=_states, depends=_depends)
organizer = fields.Many2One('party.party', 'Organizer',
states=_states, depends=_depends)
state = fields.Selection([
('draft', 'Draft'),
('confirmed', 'Confirmed'),
('done', 'Done'),
], 'State', readonly=True, required=True)
del _states, _depends
http://www.tryton.org/community.html
The presentation code is avaiable on