interface enhancement fix root - default=True
parent
60a1c0706f
commit
5e2a9a6a73
|
|
@ -231,9 +231,7 @@ class Partner(models.Model):
|
||||||
vals['active'] = False
|
vals['active'] = False
|
||||||
vals['is_company'] = True
|
vals['is_company'] = True
|
||||||
vals['portal_pending'] = True
|
vals['portal_pending'] = True
|
||||||
if not vals.get('root'):
|
vals.setdefault('root',True)
|
||||||
vals['root'] = True
|
|
||||||
|
|
||||||
|
|
||||||
# send mail activity to usergroup(with group 'informieren bei neuem Portalkunden, if new company was created
|
# send mail activity to usergroup(with group 'informieren bei neuem Portalkunden, if new company was created
|
||||||
recordset = self.create(vals)
|
recordset = self.create(vals)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue