Hello i have 2 question :
1- how to inherit the user registration form ? Because when i have inherited "base.view_users_form",
the user form didn't display like the original.
2- how to create user from function ? because my function don't working :
next_step = self.env['res.users'].create({
'name': self.name,
'email': self.email,
'password' : self.password,
'partner_id' : self.name,
'login' : self.login,
'alias_id' : self.alias_id,
'password_crypt' : self.password_crypt,
'write_date' : self.write_date,
'company_id' : self.company_id,
'action_id' : self.action_id,
'sale_team_id' : self.sale_team_id
#'x_Adresio2' : self.x_Adresio2
})