summaryrefslogtreecommitdiff
path: root/addons/share/wizard/share_wizard.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-03-14 15:39:11 +0100
committerOlivier Dony <odo@openerp.com>2014-03-14 15:39:11 +0100
commit6a14fddc35348d7c8b8f91c76285925e853d5002 (patch)
tree90290537d84c2207a5ba6d7109ac6d929a30463e /addons/share/wizard/share_wizard.py
parent8820d9f1886868bb4b874e96185535ebd9a6c35d (diff)
parent02459f8d4a97ef8ee82464389b269fafac7fec21 (diff)
[MERGE] Forward port of saas-2 fixes up to rev 9152 rev-id odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g
bzr revid: odo@openerp.com-20140314143911-c2mxesg31xezeyr9
Diffstat (limited to 'addons/share/wizard/share_wizard.py')
-rw-r--r--addons/share/wizard/share_wizard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py
index 22b880956cc..10937015dd6 100644
--- a/addons/share/wizard/share_wizard.py
+++ b/addons/share/wizard/share_wizard.py
@@ -906,7 +906,7 @@ class share_result_line(osv.osv_memory):
'login': fields.related('user_id', 'login', string='Login', type='char', size=64, required=True, readonly=True),
'password': fields.char('Password', size=64, readonly=True),
'share_url': fields.function(_share_url, string='Share URL', type='char', size=512),
- 'share_wizard_id': fields.many2one('share.wizard', 'Share Wizard', required=True),
+ 'share_wizard_id': fields.many2one('share.wizard', 'Share Wizard', required=True, ondelete='cascade'),
'newly_created': fields.boolean('Newly created', readonly=True),
}
_defaults = {