[FIX] unbreak user creation
bzr revid: xmo@tinyerp.com-20091208135306-qcic48ugtff50aes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user