[FIX] base: fixes #1167, change password wizard (wrong default value)
authorRaphael Collet <rco@openerp.com>
Wed, 6 Aug 2014 09:20:38 +0000 (11:20 +0200)
committerRaphael Collet <rco@openerp.com>
Wed, 6 Aug 2014 09:24:37 +0000 (11:24 +0200)
commit6a83425ba9b8eac5c948e6265f30d57ff42e3fbf
tree4b6ac4c603d20d6b93eb8941a7cba2afac2e69f2
parent52a37be447999700f2306cb1e2337795254decd8
[FIX] base: fixes #1167, change password wizard (wrong default value)

The one2many field 'user_ids' was initialized with an incorrect value for the
inverse field 'wizard_id', using a res.users id. The latter was causing a
MissingError exception. The fix is simply to not define explicitly the inverse
field in the one2many.

Also did a small cleanup of the code of the wizard.
openerp/addons/base/res/res_users.py