Browse Source

Update ondelete to restrict.

pull/327/head
Fekete Mihai 9 years ago
committed by Pedro M. Baeza
parent
commit
3dbfede423
  1. 2
      partner_contact_department/models/res_partner.py

2
partner_contact_department/models/res_partner.py

@ -29,7 +29,7 @@ class ResPartnerDepartment(models.Model):
parent_id = fields.Many2one(
"res.partner.department",
"Parent department",
ondelete='cascade')
ondelete='restrict')
child_ids = fields.One2many(
"res.partner.department",
"parent_id",

Loading…
Cancel
Save