summaryrefslogtreecommitdiff
path: root/addons/portal/wizard
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-01-02 11:22:45 +0100
committerChristophe Simonis <chs@odoo.com>2017-01-02 11:22:45 +0100
commit7be1a1c55bcb4a86fc0c6ede7a3bef8136e7c3d6 (patch)
tree62093a6519d34d2349b75b5a5157e6e16052322c /addons/portal/wizard
parenta9a9f624e47251fa8bd966bc2118836350ddff01 (diff)
parent2b8fcfc08b08b753f97e24c458a4be9b96f367a2 (diff)
[MERGE] forward port branch 8.0 up to 2b8fcfc08b0
Diffstat (limited to 'addons/portal/wizard')
-rw-r--r--addons/portal/wizard/portal_wizard.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/portal/wizard/portal_wizard.py b/addons/portal/wizard/portal_wizard.py
index 22bc745c136..1a85ae31daa 100644
--- a/addons/portal/wizard/portal_wizard.py
+++ b/addons/portal/wizard/portal_wizard.py
@@ -118,7 +118,9 @@ class wizard_user(osv.osv_memory):
_columns = {
'wizard_id': fields.many2one('portal.wizard', string='Wizard', required=True, ondelete='cascade'),
- 'partner_id': fields.many2one('res.partner', string='Contact', required=True, readonly=True),
+ 'partner_id': fields.many2one(
+ 'res.partner', string='Contact', required=True, readonly=True,
+ ondelete='cascade'),
'email': fields.char(string='Email', size=240),
'in_portal': fields.boolean('In Portal'),
}