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