[FIX] unbreak user creation

bzr revid: xmo@tinyerp.com-20091208135306-qcic48ugtff50aes
This commit is contained in:
Xavier Morel
2009-12-08 14:53:06 +01:00
parent 06a49e6401
commit c2aeae60c4
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -238,7 +238,7 @@
<group col="4" colspan="2">
<button name="action_skip" icon="gtk-cancel" special="cancel"
string='Skip' type='object'/>
<button name='action_next' icon='gtk-ok'
<button name='action_new' icon='gtk-ok'
string='Add User' type='object'/>
</group>
</form>
-3
View File
@@ -271,9 +271,6 @@ class config_users(osv.osv_memory):
self.pool.get('res.users').create(
cr, uid, self.user_data(cr, uid, context), context)
def action_next(self, cr, uid, ids, context=None):
return self.next(cr, uid)
def action_new(self, cr, uid, ids, context=None):
self.create_user(cr, uid, context=context)
return {