diff options
| author | Amit Mendapara <ame@tinyerp.com> | 2008-09-22 13:25:47 +0530 |
|---|---|---|
| committer | Amit Mendapara <ame@tinyerp.com> | 2008-09-22 13:25:47 +0530 |
| commit | aeabe5cc355ae695e4232980e1276f1c6f095ec1 (patch) | |
| tree | a0afb86153ad74cd1749c33814b197e045cdbfa7 /addons/process/process.py | |
| parent | f2209f5e12ca7cd7d360ee8b6c2d5f9854b67af4 (diff) | |
Subflow support.
bzr revid: ame@tinyerp.com-20080922075547-5wqi826hsdw0hjbq
Diffstat (limited to 'addons/process/process.py')
| -rw-r--r-- | addons/process/process.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/process/process.py b/addons/process/process.py index f2d64499667..451d5c78257 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -81,6 +81,7 @@ class process_process(osv.osv): data['name'] = node.name data['model'] = (node.model_id or None) and node.model_id.model data['kind'] = node.kind + data['subflow'] = (node.subflow_id or None) and node.subflow_id.id data['notes'] = node.note data['active'] = 0 data['gray'] = 0 @@ -165,6 +166,7 @@ class process_node(osv.osv): 'note': fields.text('Notes', translate=True), 'model_id': fields.many2one('ir.model', 'Object', ondelete='set null'), 'model_states': fields.char('States Expression', size=128), + 'subflow_id': fields.many2one('process.process', 'Subflow', ondelete='set null'), 'flow_start': fields.boolean('Starting Flow'), 'transition_in': fields.one2many('process.transition', 'target_node_id', 'Starting Transitions'), 'transition_out': fields.one2many('process.transition', 'source_node_id', 'Ending Transitions'), |
