diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2009-02-04 14:12:10 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2009-02-04 14:12:10 +0100 |
| commit | dd2d0a6c903b1f9b73b78c59512fccec8dc745d4 (patch) | |
| tree | e6db1968916135d06657d2e721318944fab6af3e /addons/process/process.py | |
| parent | 3ae831ceaf4c22a44dfb76c289ceabb72b666ea4 (diff) | |
modifs
bzr revid: fp@tinyerp.com-20090204131210-5pzw9yundt57gja9
Diffstat (limited to 'addons/process/process.py')
| -rw-r--r-- | addons/process/process.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/process/process.py b/addons/process/process.py index 5f02b67b879..ea350b0bf7e 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -318,14 +318,14 @@ class process_node(osv.osv): 'flow_start': lambda *args: False, } - def copy(self, cr, uid, id, default=None, context={}): + def copy_data(self, cr, uid, id, default=None, context={}): if not default: default = {} default.update({ 'transition_in': [], 'transition_out': [] }) - return super(process_node, self).copy(cr, uid, id, default, context) + return super(process_node, self).copy_data(cr, uid, id, default, context) process_node() @@ -375,7 +375,7 @@ class process_transition_action(osv.osv): 'state': lambda *args: 'dummy', } - def copy(self, cr, uid, id, default=None, context={}): + def copy_data(self, cr, uid, id, default=None, context={}): if not default: default = {} @@ -383,7 +383,7 @@ class process_transition_action(osv.osv): if state: default['state'] = state - return super(process_transition_action, self).copy(cr, uid, id, default, context) + return super(process_transition_action, self).copy_data(cr, uid, id, default, context) process_transition_action() |
